summaryrefslogtreecommitdiff
path: root/program/include
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2006-08-30 19:55:55 +0000
committerthomascube <thomas@roundcube.net>2006-08-30 19:55:55 +0000
commit10c92bef09262b7d46e6c87893715bb5a2e5e4a1 (patch)
treeb61ce9acf911f4429acbc0985f67d48e18b56c82 /program/include
parent107bde9cfd9a0392d18544b5a433552ce6f2f0a6 (diff)
New indentation for quoted message text; HTML validity
Diffstat (limited to 'program/include')
-rw-r--r--program/include/main.inc2
1 files changed, 1 insertions, 1 deletions
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);