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 <jeanchristophe.amiel@gmail.com> Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
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

Lines changed: 1 addition & 1 deletion
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy