mirror of
https://github.com/python/cpython.git
synced 2025-07-07 19:35:27 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue