]> git.wh0rd.org Git - tt-rss.git/commitdiff
add <s> to valid tags when cleaning content
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Wed, 15 Dec 2010 10:00:10 +0000 (13:00 +0300)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Wed, 15 Dec 2010 10:00:10 +0000 (13:00 +0300)
functions.php

index 50c6f27fb4c964957bc6fe32401b2f47ef602f65..4d8e632cb87943dc7570c92ebaec35acb8bb4b16 100644 (file)
 
        $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);