From ed29b175ebb771e49e4db3b70302c90242f055e1 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 15 Dec 2010 13:00:10 +0300 Subject: [PATCH] add to valid tags when cleaning content --- functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);