[icinga-checkins] icinga.org: icingaweb2/master: Disable zero width spaces for the moment

git at icinga.org git at icinga.org
Tue Oct 11 15:20:34 CEST 2016


Module: icingaweb2
Branch: master
Commit: 4b0e90cf23d17e30628cb47857e83bc19af6e368
URL:    https://git.icinga.org/?p=icingaweb2.git;a=commit;h=4b0e90cf23d17e30628cb47857e83bc19af6e368

Author: Eric Lippmann <eric.lippmann at netways.de>
Date:   Tue Oct 11 15:20:20 2016 +0200

Disable zero width spaces for the moment

refs #12774

---

 modules/monitoring/application/views/helpers/PluginOutput.php |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/monitoring/application/views/helpers/PluginOutput.php b/modules/monitoring/application/views/helpers/PluginOutput.php
index 404c915..4381e5b 100644
--- a/modules/monitoring/application/views/helpers/PluginOutput.php
+++ b/modules/monitoring/application/views/helpers/PluginOutput.php
@@ -221,6 +221,8 @@ class Zend_View_Helper_PluginOutput extends Zend_View_Helper_Abstract
      */
     protected function fixWrapping($output, $zeroWidthSpace)
     {
+        // TODO(el): Disabled until we find a bulletproof implementation
+        return $output;
         // Add zero width space after ')', ']', ':', '.', '_' and '-' if not surrounded by whitespaces
         $output = preg_replace('/([^\s])([\\)\\]:._-])([^\s])/', '$1$2' . $zeroWidthSpace . '$3', $output);
         // Add zero width space before '(' and '[' if not surrounded by whitespaces



More information about the icinga-checkins mailing list