Strip HTML tags inside CSS style definitions

release-1.0
Thomas Bruederli 7 years ago
parent a54dde834c
commit 37cae3ecfa

@ -554,6 +554,7 @@ class rcube_utils
$out = preg_replace_callback('/\\\([0-9a-f]{4})/i',
array(self, 'xss_entity_decode_callback'), $out);
$out = preg_replace('#/\*.*\*/#Ums', '', $out);
$out = strip_tags($out);
return $out;
}

Loading…
Cancel
Save