Skip to content

Commit e9103e6

Browse files
miss-islingtonjcamielezio-melotti
authored
[3.11] gh-100210: Correct the comment link for unescaping HTML (GH-100212) (#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]>
1 parent d15e958 commit e9103e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/html/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def escape(s, quote=True):
2525
return s
2626

2727

28-
# see http://www.w3.org/TR/html5/syntax.html#tokenizing-character-references
28+
# see https://html.spec.whatwg.org/multipage/parsing.html#numeric-character-reference-end-state
2929

3030
_invalid_charrefs = {
3131
0x00: '\ufffd', # REPLACEMENT CHARACTER

0 commit comments

Comments
 (0)