summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2010-12-15 13:00:10 +0300
committerAndrew Dolgov <[email protected]>2010-12-15 13:00:10 +0300
commited29b175ebb771e49e4db3b70302c90242f055e1 (patch)
tree803448461ebeaf01cdf6f59da2fc90481ece73c3
parentb290a6c9e0baa03fd0fd98ef26bc4857774a27bf (diff)
add <s> to valid tags when cleaning content
-rw-r--r--functions.php2
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);