Allow span and *[style] in plugin outputs

This commit is contained in:
Alexander A. Klimov 2019-01-12 14:37:18 +01:00
parent 08c879249b
commit 2625454e5d
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ class PluginOutputPurifier extends HtmlPurifier
{
$config->set(
'HTML.Allowed',
'p,br,b,a[href|target],i,ul,ol,li,table,tr,th[colspan],td[colspan],div,*[class]'
'p,br,b,a[href|target],i,ul,ol,li,table,tr,th[colspan],td[colspan],div,span,*[class|style]'
);
}
}