mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-28 08:14:03 +02:00
parent
fc8b51c4be
commit
39df25f043
@ -32,8 +32,8 @@ class Zend_View_Helper_PluginOutput extends Zend_View_Helper_Abstract
|
|||||||
if (empty($output)) {
|
if (empty($output)) {
|
||||||
return '';
|
return '';
|
||||||
}
|
}
|
||||||
$output = preg_replace('~<br[^>]+>~', "\n", $output);
|
$output = preg_replace('~<br[^>]*>~', "\n", $output);
|
||||||
if (preg_match('~<\w+[^>^\\\]{0,60}>~', $output)) {
|
if (strlen($output) > strlen(strip_tags($output))) {
|
||||||
// HTML
|
// HTML
|
||||||
$output = preg_replace(
|
$output = preg_replace(
|
||||||
'~<table~',
|
'~<table~',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user