mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 22:28:51 +00:00
Another attempt at handling & entities correctly
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@4099 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
d4234285f6
commit
1393e9fc6d
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ if (!defined('IN_PHPBB'))
|
||||||
die('Hacking attempt');
|
die('Hacking attempt');
|
||||||
}
|
}
|
||||||
|
|
||||||
$html_entities_match = array('#&#', '#<#', '#>#');
|
$html_entities_match = array('#&(?!(\#[0-9]+;))#', '#<#', '#>#');
|
||||||
$html_entities_replace = array('&', '<', '>');
|
$html_entities_replace = array('&', '<', '>');
|
||||||
|
|
||||||
$unhtml_specialchars_match = array('#>#', '#<#', '#"#', '#&#');
|
$unhtml_specialchars_match = array('#>#', '#<#', '#"#', '#&#');
|
||||||
|
|
Loading…
Add table
Reference in a new issue