diff options
author | Andrew Dolgov <[email protected]> | 2010-12-15 13:00:10 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2010-12-15 13:00:10 +0300 |
commit | ed29b175ebb771e49e4db3b70302c90242f055e1 (patch) | |
tree | 803448461ebeaf01cdf6f59da2fc90481ece73c3 | |
parent | b290a6c9e0baa03fd0fd98ef26bc4857774a27bf (diff) |
add <s> to valid tags when cleaning content
-rw-r--r-- | functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/functions.php b/functions.php index 50c6f27fb..4d8e632cb 100644 --- a/functions.php +++ b/functions.php @@ -126,7 +126,7 @@ $config = HTMLPurifier_Config::createDefault(); - $allowed = "p,a[href],i,em,b,strong,code,pre,blockquote,br,img[src|alt|title],ul,ol,li,h1,h2,h3,h4"; + $allowed = "p,a[href],i,em,b,strong,code,pre,blockquote,br,img[src|alt|title],ul,ol,li,h1,h2,h3,h4,s"; $config->set('HTML', 'Allowed', $allowed); $purifier = new HTMLPurifier($config); |