From cc059e8b715516af0dba8b9aa19639b16a021899 Mon Sep 17 00:00:00 2001 From: thomasb Date: Wed, 21 Feb 2007 18:49:23 +0000 Subject: Fixed CSS bugs (#1484210 and #1484161) and quoting issue (#1484253) git-svn-id: https://svn.roundcube.net/trunk@491 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/include/main.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'roundcubemail/program') diff --git a/roundcubemail/program/include/main.inc b/roundcubemail/program/include/main.inc index 88c22b85e..7e7f216de 100644 --- a/roundcubemail/program/include/main.inc +++ b/roundcubemail/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('/&([a-z]{2,5});/', '&\\1;', strtr($str, $encode_arr)); + $out = preg_replace('/&([a-z]{2,5}|#[0-9]{2,4});/', '&\\1;', strtr($str, $encode_arr)); return $newlines ? nl2br($out) : $out; } -- cgit v1.2.3