From 803b3d89eb4b3dd94a9ba334b271b4ccc686aa39 Mon Sep 17 00:00:00 2001 From: "Paul S. Owen" Date: Thu, 12 Jun 2003 12:49:01 +0000 Subject: [PATCH] entity fix git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@4116 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/privmsg.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpBB/privmsg.php b/phpBB/privmsg.php index edd45880a7..69be22b9e2 100644 --- a/phpBB/privmsg.php +++ b/phpBB/privmsg.php @@ -35,7 +35,7 @@ if ( !empty($board_config['privmsg_disable']) ) message_die(GENERAL_MESSAGE, 'PM_disabled'); } -$html_entities_match = array('#&#', '#<#', '#>#'); +$html_entities_match = array('#&(?!(\#[0-9]+;))#', '#<#', '#>#'); $html_entities_replace = array('&', '<', '>'); //