From 045f4032b7220202502fbd167dda556dafb8e99d Mon Sep 17 00:00:00 2001 From: Matt Mullenweg Date: Sun, 24 Aug 2003 20:53:52 +0000 Subject: [PATCH] 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 --- 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;' => ' ', '!' => '!', '"' => '"', '#' => '#', '$' => '$', '%' => '%', '&' => '&', ''' => ''', '(' => '(', ')' => ')',