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:
parent
1e34aaddf1
commit
045f4032b7
@ -52,8 +52,14 @@ $b2_htmltrans = array_flip(get_html_translation_table(HTML_ENTITIES));
|
|||||||
$b2_htmltrans['<'] = '<'; # preserve HTML
|
$b2_htmltrans['<'] = '<'; # preserve HTML
|
||||||
$b2_htmltrans['>'] = '>'; # preserve HTML
|
$b2_htmltrans['>'] = '>'; # preserve HTML
|
||||||
$b2_htmltransbis = array(
|
$b2_htmltransbis = array(
|
||||||
'–' => '<27>', '—' => '<27>', '‘' => '<27>', '’' => '<27>',
|
'<27>' => '–',
|
||||||
'“' => '<27>', '”' => '<27>', '•' => '<27>', '€' => '<27>',
|
'<27>' => '—',
|
||||||
|
'<27>' => '‘',
|
||||||
|
'<27>' => '’',
|
||||||
|
'<27>' => '“',
|
||||||
|
'<27>' => '”',
|
||||||
|
'<27>' => '•',
|
||||||
|
'<27>' => '€',
|
||||||
'<' => '<', # preserve fake HTML
|
'<' => '<', # preserve fake HTML
|
||||||
'>' => '>', # preserve fake HTML
|
'>' => '>', # preserve fake HTML
|
||||||
'&sp;' => ' ', '!' => '!', '"' => '"', '#' => '#', '$' => '$', '%' => '%', '&' => '&', ''' => ''', '(' => '(', ')' => ')',
|
'&sp;' => ' ', '!' => '!', '"' => '"', '#' => '#', '$' => '$', '%' => '%', '&' => '&', ''' => ''', '(' => '(', ')' => ')',
|
||||||
|
Loading…
Reference in New Issue
Block a user