mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-29 16:54:04 +02:00
parent
ea04e60586
commit
cd19625895
@ -120,8 +120,9 @@ class Zend_View_Helper_PluginOutput extends Zend_View_Helper_Abstract
|
|||||||
$isHtml = false;
|
$isHtml = false;
|
||||||
}
|
}
|
||||||
$output = trim($output);
|
$output = trim($output);
|
||||||
// Add space after comma where missing, to help browsers to break words in plugin output
|
// Add zero-width space after commas which are not followed by a whitespace character
|
||||||
$output = preg_replace('/,(?=[^\s])/', ', ', $output);
|
// in oder to help browsers to break words in plugin output
|
||||||
|
$output = preg_replace('/,(?=[^\s])/', ',​', $output);
|
||||||
if (! $raw) {
|
if (! $raw) {
|
||||||
if ($isHtml) {
|
if ($isHtml) {
|
||||||
$output = $this->processHtml($output);
|
$output = $this->processHtml($output);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user