Module: check_mk
Branch: master
Commit: 129cdc329a67d77dbd21c8678f3ac847d487a510
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=129cdc329a67d7…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Mon Feb 20 12:07:16 2017 +0100
cleaned up comments
Change-Id: Id4bbf5ef346ec6cd070a3ce309a5b74b0fc769c4
---
web/htdocs/views.py | 4 ----
1 file changed, 4 deletions(-)
diff --git a/web/htdocs/views.py b/web/htdocs/views.py
index 093355d..f2486d8 100644
--- a/web/htdocs/views.py
+++ b/web/htdocs/views.py
@@ -755,9 +755,6 @@ class Cell(object):
if tdclass == "" and content == "":
return "", ""
- # Removed this here. Belive this is the wrong place for such an action
- #content = html.utf8_to_entities(content)
-
# Add the optional link to another view
if content and self._has_link():
content = link_to_view(content, row, self._link_view_name)
@@ -767,7 +764,6 @@ class Cell(object):
tooltip_cell = Cell(self._view, (self.tooltip_painter_name(), None))
tooltip_tdclass, tooltip_content = tooltip_cell.render_content(row)
tooltip_text = html.strip_tags(tooltip_content)
- #tooltiptext = html.utf8_to_entities(html.strip_tags(txt))
content = '<span title="%s">%s</span>' %
(tooltip_text, content)
return tdclass, content