mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-30 09:14:08 +02:00
PluginOutput: Allow ordered and unordered lists in html output
refs #2846
This commit is contained in:
parent
dff6c16bf8
commit
0610718930
@ -191,8 +191,11 @@ class Zend_View_Helper_PluginOutput extends Zend_View_Helper_Abstract
|
|||||||
|
|
||||||
$config = HTMLPurifier_Config::createDefault();
|
$config = HTMLPurifier_Config::createDefault();
|
||||||
$config->set('Core.EscapeNonASCIICharacters', true);
|
$config->set('Core.EscapeNonASCIICharacters', true);
|
||||||
$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'));
|
$config->set('Attr.AllowedFrameTargets', array('_blank'));
|
||||||
|
$config->set(
|
||||||
|
'HTML.Allowed',
|
||||||
|
'p,br,b,a[href|target],i,ul,ol,li,table,tr,th[colspan],td[colspan],div,*[class]'
|
||||||
|
);
|
||||||
// This avoids permission problems:
|
// This avoids permission problems:
|
||||||
// $config->set('Core.DefinitionCache', null);
|
// $config->set('Core.DefinitionCache', null);
|
||||||
$config->set('Cache.DefinitionImpl', null);
|
$config->set('Cache.DefinitionImpl', null);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user