projects
/
treecutter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64995a9
)
sitemap: removing language menu namespace
author
Fredrik Unger
<fred@tree.se>
Fri, 25 Jan 2013 11:06:58 +0000
(12:06 +0100)
committer
Fredrik Unger
<fred@tree.se>
Fri, 25 Jan 2013 11:06:58 +0000
(12:06 +0100)
Removing language menu generation namespace.
It is not needed as it is in html, and namespace confuses and invalidates
the html in the browser, maybe since the attributes were not namespaced.
treecutter/sitemap.py
patch
|
blob
|
history
diff --git
a/treecutter/sitemap.py
b/treecutter/sitemap.py
index a8612f23b9ba9b1c1955bd370af771b59a008b9f..da6660ec44c03ed045e95c1ec42ffb401d63865a 100644
(file)
--- a/
treecutter/sitemap.py
+++ b/
treecutter/sitemap.py
@@
-103,7
+103,7
@@
class Sitemap():
return self._tree.menu(lang,page,cssclass)
def lang_menu(self,lang,link):
- html = ElementMaker(
namespace=const.HTML_NS
)
+ html = ElementMaker()
menu = html.ul()
for l in link.languages():
isoxml = u"//iso_639_3_entry[@*='"+l+"']"