mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-09-25 18:59:04 +02:00
Comply to coding guidelines
This commit is contained in:
parent
7bda4ce42b
commit
b505101694
@ -35,7 +35,9 @@ class Zend_View_Helper_PluginOutput extends Zend_View_Helper_Abstract
|
|||||||
$output = preg_replace('~<br[^>]+>~', "\n", $output);
|
$output = preg_replace('~<br[^>]+>~', "\n", $output);
|
||||||
if (preg_match('~<\w+[^>^\\\]{0,60}>~', $output)) {
|
if (preg_match('~<\w+[^>^\\\]{0,60}>~', $output)) {
|
||||||
// HTML
|
// HTML
|
||||||
$output = preg_replace('~<table~', '<table style="font-size: 0.75em"',
|
$output = preg_replace(
|
||||||
|
'~<table~',
|
||||||
|
'<table style="font-size: 0.75em"',
|
||||||
$this->getPurifier()->purify($output)
|
$this->getPurifier()->purify($output)
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user