mirror of https://github.com/python/cpython
gh-100210: Correct the comment link for unescaping HTML (#100212)
gh-100210: correct the comment link for unescaping HTML
This commit is contained in:
parent
072935951f
commit
9a07eff628
|
@ -25,7 +25,7 @@ def escape(s, quote=True):
|
|||
return s
|
||||
|
||||
|
||||
# see http://www.w3.org/TR/html5/syntax.html#tokenizing-character-references
|
||||
# see https://html.spec.whatwg.org/multipage/parsing.html#numeric-character-reference-end-state
|
||||
|
||||
_invalid_charrefs = {
|
||||
0x00: '\ufffd', # REPLACEMENT CHARACTER
|
||||
|
|
Loading…
Reference in New Issue