[Mpuls-commits] r2996 - base/trunk/mpulsweb/lib

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Fri Jun 11 14:43:58 CEST 2010


Author: torsten
Date: 2010-06-11 14:43:57 +0200 (Fri, 11 Jun 2010)
New Revision: 2996

Modified:
   base/trunk/mpulsweb/lib/helpers.py
Log:
* mpulsweb/lib/helpers.py (tag): Fixed isseu770. Changed "escaping" while building tags in formular page



Modified: base/trunk/mpulsweb/lib/helpers.py
===================================================================
--- base/trunk/mpulsweb/lib/helpers.py	2010-06-11 09:02:20 UTC (rev 2995)
+++ base/trunk/mpulsweb/lib/helpers.py	2010-06-11 12:43:57 UTC (rev 2996)
@@ -121,7 +121,7 @@
                 value = ""
             elif not isinstance(value, basestring):
                 value = str(value)
-            out.append(" %s=%s" % (name, quoteattr(value)))
+            out.append(' %s="%s"' % (name, escape(value, True)))
     if _close:
         out.append(">")
     else:



More information about the Mpuls-commits mailing list