diff options
author | Waylan Limberg <waylan@gmail.com> | 2012-08-23 09:51:15 -0400 |
---|---|---|
committer | Waylan Limberg <waylan@gmail.com> | 2012-08-23 09:51:15 -0400 |
commit | 27803032415cf3e79342160d4242daa1e37808e5 (patch) | |
tree | 5ae18c2f5aebe01be865b278e095940a8d4167b8 | |
parent | 28110c48bd21a5ba80a1ed71e8217ce903dab8be (diff) | |
parent | aace46c79b13c1e3f2ab0742060881e48d5627f2 (diff) | |
download | markdown-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.py | 2 |
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 |