diff --git a/modules/monitoring/application/views/helpers/PluginOutput.php b/modules/monitoring/application/views/helpers/PluginOutput.php index 1e0677587..9ffb88bd4 100644 --- a/modules/monitoring/application/views/helpers/PluginOutput.php +++ b/modules/monitoring/application/views/helpers/PluginOutput.php @@ -18,7 +18,7 @@ class Zend_View_Helper_PluginOutput extends Zend_View_Helper_Abstract } elseif (preg_match('~\\\n~', $output)) { // Plaintext $output = '
' + . ' width: 100%; overflow: auto; white-space: pre-wrap;">' . preg_replace( '~\\\n~', "\n", preg_replace( '~\\\n\\\n~', "\n", @@ -26,15 +26,15 @@ class Zend_View_Helper_PluginOutput extends Zend_View_Helper_Abstract preg_replace('~\[WARNING\]~', '[WARNING]', preg_replace('~\[CRITICAL\]~', '[CRITICAL]', preg_replace('~\@{6,}~', '@@@@@@', - $this->view->escape(wordwrap($output, 80, "\n", true)) + $this->view->escape($output) )))) ) ) . ''; } else { $output = '
' + . ' width: 100%; overflow: auto; white-space: pre-wrap;">' . preg_replace('~\@{6,}~', '@@@@@@', - $this->view->escape(wordwrap($output, 80, "\n", true)) + $this->view->escape($output) ) . ''; } $output = $this->fixLinks($output);