add <s> to valid tags when cleaning content

This commit is contained in:
Andrew Dolgov 2010-12-15 13:00:10 +03:00
parent b290a6c9e0
commit ed29b175eb
1 changed files with 1 additions and 1 deletions

View File

@ -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);