[Mpuls-commits] r4931 - in base/trunk: . mpulsweb/templates/error

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Fri Apr 29 11:46:01 CEST 2011


Author: roland
Date: 2011-04-29 11:46:00 +0200 (Fri, 29 Apr 2011)
New Revision: 4931

Modified:
   base/trunk/ChangeLog
   base/trunk/mpulsweb/templates/error/error.mako
Log:
Escape <br> with h.literal

Modified: base/trunk/ChangeLog
===================================================================
--- base/trunk/ChangeLog	2011-04-28 10:22:10 UTC (rev 4930)
+++ base/trunk/ChangeLog	2011-04-29 09:46:00 UTC (rev 4931)
@@ -1,3 +1,8 @@
+2011-04-29  Roland Geider  <roland.geider at intevation.de>
+
+	* mpulsweb/templates/error/error.mako: Escape <br> with
+	  h.literal
+
 2011-04-19  Torsten Irländer <torsten.irlaender at intevation.de>
 
 	* mpulsweb/model/phase.py: Issue2056: Check for every field where it

Modified: base/trunk/mpulsweb/templates/error/error.mako
===================================================================
--- base/trunk/mpulsweb/templates/error/error.mako	2011-04-28 10:22:10 UTC (rev 4930)
+++ base/trunk/mpulsweb/templates/error/error.mako	2011-04-29 09:46:00 UTC (rev 4931)
@@ -2,6 +2,6 @@
 <%inherit file="../auth/main.mako" />
 <h1>${_('%s Fehler %s') % (h.get_app_title(), c.error_code)}</h1>
 <p>
-${_('  At the last query an unexpected error occured.<br>  If this error repeatly appears, please contact')}
+${h.literal(_('  At the last query an unexpected error occured.<br>  If this error repeatly appears, please contact'))}
   <a href="mailto:${c.error_email}">${c.error_email}</a>.
 </p>



More information about the Mpuls-commits mailing list