Module: check_mk
Branch: master
Commit: 9d7403f13a21cd49a8ab9fbe0ae4e1ee9d4e44dd
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=9d7403f13a21cd…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Thu Nov 3 16:14:45 2016 +0100
Add missing actual fix of werk #4039
---
web/htdocs/table.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/web/htdocs/table.py b/web/htdocs/table.py
index 03645ec..31041d1 100644
--- a/web/htdocs/table.py
+++ b/web/htdocs/table.py
@@ -115,7 +115,7 @@ def cell(*posargs, **kwargs):
next_args = posargs, kwargs
def add_cell(title="", text="", css=None, help=None, colspan=None,
sortable=True):
- if type(text) != unicode:
+ if type(text) not in (unicode, HTML):
text = str(text)
htmlcode = text + html.drain()
if table["collect_headers"] == True: