Module: check_mk
Branch: master
Commit: 08cd0e858b24a048f31b9361ec83dd90550401ce
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=08cd0e858b24a0…
Author: Roland Halbig <rh(a)mathias-kettner.de>
Date: Fri Nov 4 11:48:25 2016 +0100
Fixed ' ' issue.
---
web/htdocs/htmllib.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/web/htdocs/htmllib.py b/web/htdocs/htmllib.py
index e5203d6..4924edb 100644
--- a/web/htdocs/htmllib.py
+++ b/web/htdocs/htmllib.py
@@ -423,6 +423,7 @@ class HTMLGenerator(OutputFunnel):
text = self._unescaper_text.sub(r'<\1\2>', text)
# Also repair link definitions
text = self._unescaper_href.sub(r'<a href="\1">', text)
+ text = re.sub(r'&nbsp;', ' ', text)
return text