--- a/app/soc/views/helper/html_menu.py Sun Oct 26 00:27:17 2008 +0000
+++ b/app/soc/views/helper/html_menu.py Sun Oct 26 00:52:23 2008 +0000
@@ -219,10 +219,7 @@
return [self._item.name]
# URL supplied, so make an <a href="item.value">item.name</a> link
- return ['%s<a href=' % indent,
- '%s "%s"' % (indent, self._item.value),
- '%s>%s</a>' % (indent, self._item.name)]
-
+ return ['%s<a href="%s">%s</a>' % (indent, self._item.value, self._item.name)]
class LiMenuItem(AHrefMenuItem):
"""Provides HTML menu item properties as attributes as an <li> list item.