program/include/main.inc
@@ -958,8 +958,9 @@ } else if ($mode=='remove') $str = strip_tags($str); $out = strtr($str, $encode_arr); // avoid douple quotation of & $out = preg_replace('/&([a-z]{2,5});/', '&\\1;', strtr($str, $encode_arr)); return $newlines ? nl2br($out) : $out; }