Commit 1c252a94 authored by Aurel's avatar Aurel

fixup! a17bb910 use unichr instead of chr

parent cdb09bbf
......@@ -244,7 +244,7 @@ class StrippingParser(HTMLParser):
from six.moves.html_entities import name2codepoint
entitydefs = HTMLParser.entitydefs = {'apos':u"'"}
for k, v in six.iteritems(name2codepoint):
entitydefs[k] = chr(v)
entitydefs[k] = unichr(v)
# (end) copied from Python-2.6's HTMLParser.py
if name in self.entitydefs:
x = ';'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment