Allow colspan for th in plugin output

refs #12125
This commit is contained in:
Eric Lippmann 2016-11-03 16:24:46 +01:00
parent 647e404c8f
commit 313cb3233d
1 changed files with 1 additions and 1 deletions

View File

@ -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);