From 10c92bef09262b7d46e6c87893715bb5a2e5e4a1 Mon Sep 17 00:00:00 2001 From: thomascube Date: Wed, 30 Aug 2006 19:55:55 +0000 Subject: New indentation for quoted message text; HTML validity --- program/include/main.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'program/include') diff --git a/program/include/main.inc b/program/include/main.inc index 7458fe131..ecf53b52d 100644 --- a/program/include/main.inc +++ b/program/include/main.inc @@ -921,7 +921,6 @@ function rep_specialchars_output($str, $enctype='', $mode='', $newlines=TRUE) { $html_encode_arr = get_html_translation_table(HTML_SPECIALCHARS); unset($html_encode_arr['?']); - unset($html_encode_arr['&']); } $ltpos = strpos($str, '<'); @@ -933,6 +932,7 @@ function rep_specialchars_output($str, $enctype='', $mode='', $newlines=TRUE) unset($encode_arr['"']); unset($encode_arr['<']); unset($encode_arr['>']); + unset($encode_arr['&']); } else if ($mode=='remove') $str = strip_tags($str); -- cgit v1.2.3