Remove redundant trim()

pull/6465/head
Aleksander Machniak 6 years ago
parent 39146a90bc
commit b8e51b9d2f

@ -496,7 +496,7 @@ class rcube_utils
*/
public static function xss_entity_decode($content)
{
$callback = function($matches) { return chr(hexdec(trim($matches[1]))); };
$callback = function($matches) { return chr(hexdec($matches[1])); };
$out = html_entity_decode(html_entity_decode($content));
$out = trim(preg_replace('/(^<!--|-->$)/', '', trim($out)));

Loading…
Cancel
Save