Module: check_mk
Branch: master
Commit: a52955c1310e400c9931f2979c3afeae01761f8b
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=a52955c1310e40…
Author: Roland Halbig <rh(a)mathias-kettner.de>
Date: Mon Oct 31 15:10:03 2016 +0100
Smaller amendments to htmllib generator.
---
web/htdocs/htmllib.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/web/htdocs/htmllib.py b/web/htdocs/htmllib.py
index 9673f00..8187e9b 100644
--- a/web/htdocs/htmllib.py
+++ b/web/htdocs/htmllib.py
@@ -353,7 +353,7 @@ class HTMLGenerator(OutputFunnel):
# these tags can be called by their tag names, e.g. 'self.title(content)'
- _shortcut_tags = set(['title', 'h1', 'h2', 'h3',
'th', 'tr', 'td', 'center', 'pre',\
+ _shortcut_tags = set(['title', 'h1', 'h2', 'h3',
'th', 'tr', 'td', 'center', 'pre',
'style', 'iframe',\
'div', 'p', 'span', 'canvas',
'strong', 'sub', 'tt', 'u', 'i', 'b'])
# these tags can be called by open_name(), close_name() and render_name(), e.g.
'self.open_html()'
@@ -530,7 +530,7 @@ class HTMLGenerator(OutputFunnel):
'onclick', 'onsubmit', 'onmouseover',
'onmouseout', 'onfocus', 'value', \
'content', 'href', 'http-equiv', 'rel',
'for', 'title', 'target',\
'align', 'valign', 'style', 'width',
'height', 'colspan', 'data-role',\
- 'cellspacing', 'cellpadding', 'border'], key
+ 'cellspacing', 'cellpadding', 'border',
'allowTransparency', 'frameborder'], key
for k, v in attrs.iteritems():
if v is None: continue