Module: check_mk
Branch: master
Commit: b95080f57791734b194cde259385398269c84a42
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=b95080f5779173…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Mon Sep 23 11:12:34 2013 +0200
Fixed strange html bug
Incorrect rendering of valuespec_listof arrows/recyle bin
Reason: Newline after html tag... (???)
---
web/htdocs/htmllib.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/web/htdocs/htmllib.py b/web/htdocs/htmllib.py
index e856f33..88226a1 100644
--- a/web/htdocs/htmllib.py
+++ b/web/htdocs/htmllib.py
@@ -200,7 +200,7 @@ class html:
def hidden_field(self, var, value, id = None, add_var = False):
if value != None:
id = id and ' id="%s"' % id or ''
- self.write("<input type=\"hidden\" name=\"%s\"
value=\"%s\"%s />\n" %
+ self.write("<input type=\"hidden\" name=\"%s\"
value=\"%s\"%s />" %
(self.attrencode(var), self.attrencode(value), id))
if add_var:
self.add_form_var(var)