This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Валентин Dreyk
Recipients Валентин Dreyk
Date 2020-06-05.16:07:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1591373228.55.0.770453836865.issue40873@roundup.psfhosted.org>
In-reply-to
Content
import html
import xml.sax.saxutils as saxutils

print(saxutils.unescape("&reghard"))  # &reghard
print(html.unescape("&reghard"))  # ®hard



html.unescape() replace "&reg" to "®" even without ";" at the end.
History
Date User Action Args
2020-06-05 16:07:08Валентин Dreyksetrecipients: + Валентин Dreyk
2020-06-05 16:07:08Валентин Dreyksetmessageid: <1591373228.55.0.770453836865.issue40873@roundup.psfhosted.org>
2020-06-05 16:07:08Валентин Dreyklinkissue40873 messages
2020-06-05 16:07:08Валентин Dreykcreate