Module: check_mk
Branch: master
Commit: f710500c4e951f2156c7d130cd8b6215ab28169a
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=f710500c4e951f…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Oct 27 16:32:40 2017 +0200
Fixed accidentially escaped HTML entity
Change-Id: Ibb4c7013183b9c200ecfc6b016089e5f28dddce7
---
web/htdocs/bi.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/web/htdocs/bi.py b/web/htdocs/bi.py
index e61cc82..ece70d7 100644
--- a/web/htdocs/bi.py
+++ b/web/htdocs/bi.py
@@ -3034,7 +3034,7 @@ def aggr_render_node(tree, title, show_host, mousecode=None,
img_class=None):
output = format_plugin_output(effective_state["output"])
if output:
- output = "<b class=bullet>♦</b>" + output
+ output = html.render_b(HTML("♦"), class_="bullet")
+ output
else:
output = ""
h += '<span class="content output">%s</span>\n' %
output
@@ -3081,7 +3081,7 @@ def aggr_render_leaf(tree, show_host, bare = False):
if show_host:
content += html.render_a(host.replace(" ", " "),
href=host_url) \
- + html.render_b("♦", class_="bullet")
+ + html.render_b(HTML("♦"),
class_="bullet")
if not service:
content += html.render_a(_("Host status"), href=host_url)