From a9d813f10e79ceb15009b01c47f9206fa37b7a49 Mon Sep 17 00:00:00 2001 From: Fredrik Unger Date: Fri, 25 Jan 2013 12:06:58 +0100 Subject: [PATCH] sitemap: removing language menu namespace 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/treecutter/sitemap.py b/treecutter/sitemap.py index a8612f2..da6660e 100644 --- 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+"']" -- 2.30.2