projects
/
treecutter.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
menues: Fixed non-ascii char in locale strings
[treecutter.git]
/
treecutter
/
sitemap.py
diff --git
a/treecutter/sitemap.py
b/treecutter/sitemap.py
index da6660ec44c03ed045e95c1ec42ffb401d63865a..57b978ec8d13853bd132d59203331d0312083913 100644
(file)
--- a/
treecutter/sitemap.py
+++ b/
treecutter/sitemap.py
@@
-114,7
+114,7
@@
class Sitemap():
if p[-1] == '/':
p = p +'index'
p = p+'.'+l
if p[-1] == '/':
p = p +'index'
p = p+'.'+l
- li = html.li(html.a(ln,href=p,hreflang=l))
+ li = html.li(html.a(ln
.decode('utf-8')
,href=p,hreflang=l))
menu.append(li)
return etree.tostring(menu,encoding='UTF-8',pretty_print=False)
menu.append(li)
return etree.tostring(menu,encoding='UTF-8',pretty_print=False)