changeset 333:09c826eeaa97 0.5.x

0.5.x: Fix navigation tab bug introduced in [milestone:0.5.1].
author cmlenz
date Tue, 17 Jan 2006 12:07:16 +0000
parents 4dc26ea9b407
children 782447c6d51a
files bitten/trac_ext/web_ui.py
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/bitten/trac_ext/web_ui.py
+++ b/bitten/trac_ext/web_ui.py
@@ -88,9 +88,9 @@
     def get_navigation_items(self, req):
         if not req.perm.has_permission('BUILD_VIEW'):
             return
-        yield 'mainnav', 'build', \
-              '<a href="%s" accesskey="5">Build Status</a>' \
-              % self.env.href.build()
+        yield ('mainnav', 'build',
+               Markup('<a href="%s" accesskey="5">Build Status</a>',
+                      self.env.href.build()))
 
     # IRequestHandler methods
 
Copyright (C) 2012-2017 Edgewall Software