Skip to content

Commit

Permalink
[3.11] gh-100210: Correct the comment link for unescaping HTML (GH-10…
Browse files Browse the repository at this point in the history
…0212) (#102044)

gh-100210: Correct the comment link for unescaping HTML (GH-100212)
(cherry picked from commit 9a07eff)


gh-100210: correct the comment link for unescaping HTML

Co-authored-by: Jean-Christophe Amiel <[email protected]>
Co-authored-by: Ezio Melotti <[email protected]>
  • Loading branch information
3 people authored Feb 20, 2023
1 parent d15e958 commit e9103e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/html/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e9103e6

Please sign in to comment.