diff --git a/file/lib/util/ChatUtil.class.php b/file/lib/util/ChatUtil.class.php index 9f8c5b8..85cddc2 100644 --- a/file/lib/util/ChatUtil.class.php +++ b/file/lib/util/ChatUtil.class.php @@ -39,7 +39,7 @@ public static function gradient($string, $start, $end) { $result = ''; for ($i = 0, $max = count($string); $i < $max; $i++) { - $result .= ''.$string[$i].''; + $result .= ''.StringUtil::encodeHTML($string[$i]).''; } return $result;