Enforce HTML sanitization

This commit is contained in:
Dmitriy Simushev 2014-09-11 14:53:03 +00:00
parent 6154992f4f
commit ce6761755e

View File

@ -84,7 +84,7 @@ function sanitize_string($string, $tags_level = 'high', $attr_level = 'high')
$sanitize_attributes = array(
'high' => array(),
'moderate' => array('class', 'style', 'href', 'rel', 'id'),
'moderate' => array('class', 'href', 'rel', 'id'),
'low' => false,
);