[icinga-checkins] icinga.org: icingaweb2/master: Allow colspan for th in plugin output

git at icinga.org git at icinga.org
Thu Nov 3 16:25:34 CET 2016


Module: icingaweb2
Branch: master
Commit: 313cb3233db072adcb085da3960bd70bc83b1765
URL:    https://git.icinga.org/?p=icingaweb2.git;a=commit;h=313cb3233db072adcb085da3960bd70bc83b1765

Author: Eric Lippmann <eric.lippmann at icinga.com>
Date:   Thu Nov  3 16:24:46 2016 +0100

Allow colspan for th in plugin output

refs #12125

---

 modules/monitoring/application/views/helpers/PluginOutput.php |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/monitoring/application/views/helpers/PluginOutput.php b/modules/monitoring/application/views/helpers/PluginOutput.php
index 457938a..fc3ec8e 100644
--- a/modules/monitoring/application/views/helpers/PluginOutput.php
+++ b/modules/monitoring/application/views/helpers/PluginOutput.php
@@ -179,7 +179,7 @@ class Zend_View_Helper_PluginOutput extends Zend_View_Helper_Abstract
 
             $config = HTMLPurifier_Config::createDefault();
             $config->set('Core.EscapeNonASCIICharacters', true);
-            $config->set('HTML.Allowed', 'p,br,b,a[href|target],i,table,tr,th,td[colspan],div,*[class]');
+            $config->set('HTML.Allowed', 'p,br,b,a[href|target],i,table,tr,th[colspan],td[colspan],div,*[class]');
             $config->set('Attr.AllowedFrameTargets', array('_blank'));
             // This avoids permission problems:
             // $config->set('Core.DefinitionCache', null);



More information about the icinga-checkins mailing list