[New-bugs-announce] [issue40873] Something wrong with html.unescape()
Валентин Dreyk
report at bugs.python.org
Fri Jun 5 12:07:08 EDT 2020
New submission from Валентин Dreyk <dreyksmail at gmail.com>:
import html
import xml.sax.saxutils as saxutils
print(saxutils.unescape("®hard")) # ®hard
print(html.unescape("®hard")) # ®hard
html.unescape() replace "®" to "®" even without ";" at the end.
----------
components: Library (Lib)
messages: 370765
nosy: Валентин Dreyk
priority: normal
severity: normal
status: open
title: Something wrong with html.unescape()
type: behavior
versions: Python 3.8
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40873>
_______________________________________
More information about the New-bugs-announce
mailing list