Found that CRAZY bug that has plagued validation for months.
git-svn-id: http://svn.automattic.com/wordpress/trunk@336 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
2ef0d0763c
commit
ba75a65103
|
@ -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(
|
||||
'–' => '<27>', '—' => '<27>', '‘' => '<27>', '’' => '<27>',
|
||||
'“' => '<27>', '”' => '<27>', '•' => '<27>', '€' => '<27>',
|
||||
'<27>' => '–',
|
||||
'<27>' => '—',
|
||||
'<27>' => '‘',
|
||||
'<27>' => '’',
|
||||
'<27>' => '“',
|
||||
'<27>' => '”',
|
||||
'<27>' => '•',
|
||||
'<27>' => '€',
|
||||
'<' => '<', # preserve fake HTML
|
||||
'>' => '>', # preserve fake HTML
|
||||
'&sp;' => ' ', '!' => '!', '"' => '"', '#' => '#', '$' => '$', '%' => '%', '&' => '&', ''' => ''', '(' => '(', ')' => ')',
|
||||
|
|
Loading…
Reference in New Issue