gh-100210: Correct the comment link for unescaping HTML (#100212)

gh-100210: correct the comment link for unescaping HTML
This commit is contained in:
Jean-Christophe Amiel 2023-02-19 11:18:12 +01:00 committed by GitHub
parent 072935951f
commit 9a07eff628
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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