diff --git a/phpBB/privmsg.php b/phpBB/privmsg.php index 3ce65dffe9..f310d8253a 100644 --- a/phpBB/privmsg.php +++ b/phpBB/privmsg.php @@ -35,8 +35,8 @@ if ( !empty($board_config['privmsg_disable']) ) message_die(GENERAL_MESSAGE, 'PM_disabled'); } -$html_entities_match = array('#&(?!(\#[0-9]+;))#', '#<#', '#>#'); -$html_entities_replace = array('&', '<', '>'); +$html_entities_match = array('#&(?!(\#[0-9]+;))#', '#<#', '#>#', '#"#'); +$html_entities_replace = array('&', '<', '>', '"'); // // Parameters