summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2007-02-21 18:49:23 +0000
committerthomascube <thomas@roundcube.net>2007-02-21 18:49:23 +0000
commite6a406d0bb5958d6380741ad91f1a72f2ecdba44 (patch)
treee44e50c48301490d31d60f1aa221b0bfbcec26db /program
parentbb76bc64659c1cda3940e098c8d932f7a3b0664c (diff)
Fixed CSS bugs (#1484210 and #1484161) and quoting issue (#1484253)
Diffstat (limited to 'program')
-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 88c22b85e..7e7f216de 100644
--- a/program/include/main.inc
+++ b/program/include/main.inc
@@ -1032,7 +1032,7 @@ function rep_specialchars_output($str, $enctype='', $mode='', $newlines=TRUE)
$str = strip_tags($str);
// avoid douple quotation of &
- $out = preg_replace('/&amp;([a-z]{2,5});/', '&\\1;', strtr($str, $encode_arr));
+ $out = preg_replace('/&amp;([a-z]{2,5}|#[0-9]{2,4});/', '&\\1;', strtr($str, $encode_arr));
return $newlines ? nl2br($out) : $out;
}