diff pylons_app/templates/base/base.html @ 414:27f801e03489

fixed escaping for new webhelpers and added perm2user constraint
author Marcin Kuzminski <marcin@python-works.com>
date Thu, 19 Aug 2010 23:42:40 +0200
parents 757c7eef0dcd
children 3ed2d46a2ca7
line wrap: on
line diff
--- a/pylons_app/templates/base/base.html	Thu Aug 19 22:38:00 2010 +0200
+++ b/pylons_app/templates/base/base.html	Thu Aug 19 23:42:40 2010 +0200
@@ -83,7 +83,7 @@
 		<% 
 		def is_current(selected):
 			if selected == current:
-				return "class='current'"
+				return h.literal('class="current"')
 		%>
 		%if current not in ['home','admin']:
            <script type="text/javascript">