[Mpuls-commits] r1731 - in wasko/branches/2.0: . mpulsweb/lib
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Wed Feb 24 11:45:37 CET 2010
Author: bh
Date: 2010-02-24 11:45:32 +0100 (Wed, 24 Feb 2010)
New Revision: 1731
Modified:
wasko/branches/2.0/ChangeLog
wasko/branches/2.0/mpulsweb/lib/renderer.py
Log:
Modified: wasko/branches/2.0/ChangeLog
===================================================================
--- wasko/branches/2.0/ChangeLog 2010-02-24 10:40:10 UTC (rev 1730)
+++ wasko/branches/2.0/ChangeLog 2010-02-24 10:45:32 UTC (rev 1731)
@@ -11,6 +11,11 @@
2010-02-24 Bernhard Herzog <bh at intevation.de>
+ * mpulsweb/lib/renderer.py (ViewRenderer._renderText)
+ (ViewRenderer._renderInt): Avoid double escaping.
+
+2010-02-24 Bernhard Herzog <bh at intevation.de>
+
* mpulsweb/lib/renderer.py (tag): Add doc-string.
2010-02-23 Bernhard Herzog <bh at intevation.de>
Modified: wasko/branches/2.0/mpulsweb/lib/renderer.py
===================================================================
--- wasko/branches/2.0/mpulsweb/lib/renderer.py 2010-02-24 10:40:10 UTC (rev 1730)
+++ wasko/branches/2.0/mpulsweb/lib/renderer.py 2010-02-24 10:45:32 UTC (rev 1731)
@@ -488,7 +488,7 @@
meta = self._getMeta(node)
out = []
id = node.getIdentifier()
- data = escape(node.getValue() or "")
+ data = node.getValue() or ""
size = meta.getSize()
disabled = self.ro_mode and "disabled" or ""
maxlength = meta.getMaxLength()
@@ -523,7 +523,7 @@
meta = self._getMeta(node)
out = []
id = node.getIdentifier()
- data = escape(node.getValue() or "")
+ data = node.getValue() or ""
disabled = self.ro_mode and "disabled" or ""
out.append(self._renderLabel(node))
out.append(self._renderAttributes(node))
More information about the Mpuls-commits
mailing list