add <s> to valid tags when cleaning content
This commit is contained in:
parent
b290a6c9e0
commit
ed29b175eb
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue