aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWaylan Limberg <waylan@gmail.com>2012-08-23 09:51:15 -0400
committerWaylan Limberg <waylan@gmail.com>2012-08-23 09:51:15 -0400
commit27803032415cf3e79342160d4242daa1e37808e5 (patch)
tree5ae18c2f5aebe01be865b278e095940a8d4167b8
parent28110c48bd21a5ba80a1ed71e8217ce903dab8be (diff)
parentaace46c79b13c1e3f2ab0742060881e48d5627f2 (diff)
downloadmarkdown-27803032415cf3e79342160d4242daa1e37808e5.tar.gz
markdown-27803032415cf3e79342160d4242daa1e37808e5.tar.bz2
markdown-27803032415cf3e79342160d4242daa1e37808e5.zip
Merge branch 'master' of https://github.com/waylan/Python-Markdown
-rw-r--r--markdown/extensions/headerid.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/markdown/extensions/headerid.py b/markdown/extensions/headerid.py
index 3f9e4c4..e86ab15 100644
--- a/markdown/extensions/headerid.py
+++ b/markdown/extensions/headerid.py
@@ -137,7 +137,7 @@ class HeaderIdTreeprocessor(markdown.treeprocessors.Treeprocessor):
if "id" in elem.attrib:
id = elem.id
else:
- id = slugify(''.join(itertext(elem)), sep)
+ id = slugify(u''.join(itertext(elem)), sep)
elem.set('id', unique(id, self.IDs))
if start_level:
level = int(elem.tag[-1]) + start_level