From 2625454e5d862fda4dfb2f963fd6c8d4f2ace3b1 Mon Sep 17 00:00:00 2001 From: "Alexander A. Klimov" Date: Sat, 12 Jan 2019 14:37:18 +0100 Subject: [PATCH] Allow span and *[style] in plugin outputs --- .../library/Monitoring/Web/Helper/PluginOutputPurifier.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/monitoring/library/Monitoring/Web/Helper/PluginOutputPurifier.php b/modules/monitoring/library/Monitoring/Web/Helper/PluginOutputPurifier.php index 9382c9eea..333df2fe8 100644 --- a/modules/monitoring/library/Monitoring/Web/Helper/PluginOutputPurifier.php +++ b/modules/monitoring/library/Monitoring/Web/Helper/PluginOutputPurifier.php @@ -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]' ); } }