Merge pull request #3663 from Al2Klimov/feature/plugin-output-span-style

Allow span and *[style] in plugin outputs
This commit is contained in:
Eric Lippmann 2019-02-26 10:35:33 +01:00 committed by GitHub
commit 37de0edabf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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]'
);
}
}