Another Python 3 fix

pull/1615/head
Aldo Bleeker 3 years ago
parent 425d8af73e
commit 91e4645315

@ -191,7 +191,7 @@ def unescape(text):
else:
# named entity
try:
text = chr(htmlentitydefs.name2codepoint[text[1:-1]])
text = chr(html.entities.name2codepoint[text[1:-1]])
except KeyError:
pass
return text # leave as is

Loading…
Cancel
Save