From: Andrew Dolgov Date: Wed, 15 Dec 2010 10:00:10 +0000 (+0300) Subject: add to valid tags when cleaning content X-Git-Tag: 1.5.0~5 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=ed29b175ebb771e49e4db3b70302c90242f055e1;p=tt-rss.git add to valid tags when cleaning content --- diff --git a/functions.php b/functions.php index 50c6f27f..4d8e632c 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);