From ba75a65103ba067008e1c011a803126fa11d1f2d Mon Sep 17 00:00:00 2001 From: saxmatt Date: Sun, 24 Aug 2003 20:53:52 +0000 Subject: [PATCH] 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 --- b2-include/b2vars.php | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/b2-include/b2vars.php b/b2-include/b2vars.php index 1e29fd01ce..b4f66d13ca 100644 --- a/b2-include/b2vars.php +++ b/b2-include/b2vars.php @@ -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( - '–' => '–', '—' => '—', '‘' => '‘', '’' => '’', - '“' => '“', '”' => '”', '•' => '•', '€' => '€', + '–' => '–', + '—' => '—', + '‘' => '‘', + '’' => '’', + '“' => '“', + '”' => '”', + '•' => '•', + '€' => '€', '<' => '<', # preserve fake HTML '>' => '>', # preserve fake HTML '&sp;' => ' ', '!' => '!', '"' => '"', '#' => '#', '$' => '$', '%' => '%', '&' => '&', ''' => ''', '(' => '(', ')' => ')',