entity fix

git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@4116 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Paul S. Owen 2003-06-12 12:49:01 +00:00
parent 666fd34a83
commit 803b3d89eb

View file

@ -35,7 +35,7 @@ if ( !empty($board_config['privmsg_disable']) )
message_die(GENERAL_MESSAGE, 'PM_disabled'); message_die(GENERAL_MESSAGE, 'PM_disabled');
} }
$html_entities_match = array('#&#', '#<#', '#>#'); $html_entities_match = array('#&(?!(\#[0-9]+;))#', '#<#', '#>#');
$html_entities_replace = array('&amp;', '&lt;', '&gt;'); $html_entities_replace = array('&amp;', '&lt;', '&gt;');
// //