Found that CRAZY bug that has plagued validation for months.

git-svn-id: https://develop.svn.wordpress.org/trunk@336 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg 2003-08-24 20:53:52 +00:00
parent 1e34aaddf1
commit 045f4032b7
1 changed files with 8 additions and 2 deletions

View File

@ -52,8 +52,14 @@ $b2_htmltrans = array_flip(get_html_translation_table(HTML_ENTITIES));
$b2_htmltrans['<'] = '<'; # preserve HTML
$b2_htmltrans['>'] = '>'; # preserve HTML
$b2_htmltransbis = array(
'&#8211;' => '<27>', '&#8212;' => '<27>', '&#8216;' => '<27>', '&#8217;' => '<27>',
'&#8220;' => '<27>', '&#8221;' => '<27>', '&#8226;' => '<27>', '&#8364;' => '<27>',
'<27>' => '&#8211;',
'<27>' => '&#8212;',
'<27>' => '&#8216;',
'<27>' => '&#8217;',
'<27>' => '&#8220;',
'<27>' => '&#8221;',
'<27>' => '&#8226;',
'<27>' => '&#8364;',
'&lt;' => '&#60;', # preserve fake HTML
'&gt;' => '&#62;', # preserve fake HTML
'&sp;' => '&#32;', '&excl;' => '&#33;', '&quot;' => '&#34;', '&num;' => '&#35;', '&dollar;' => '&#36;', '&percnt;' => '&#37;', '&amp;' => '&#38;', '&apos;' => '&#39;', '&lpar;' => '&#40;', '&rpar;' => '&#41;',