Commit 6b31526e authored by Aurel's avatar Aurel Committed by Aurel

fixup! a17bb910 use unichr instead of chr

parent 6ace3b4e
......@@ -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