Skip to content

Commit 8520e6c

Browse files
gh-100210: Correct the comment link for unescaping HTML (GH-100212)
(cherry picked from commit 9a07eff) Co-authored-by: Jean-Christophe Amiel <[email protected]> gh-100210: correct the comment link for unescaping HTML
1 parent d104234 commit 8520e6c

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)