Commit 9097d80f authored by Aurel's avatar Aurel Committed by Jérome Perrin

fixup! a17bb910 use unichr instead of chr

parent 0f1d504e
......@@ -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