diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2023-02-19 10:41:53 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-19 10:41:53 (GMT) |
commit | 8520e6cbb28146f9091c7af18558911f6ce74ae9 (patch) | |
tree | dbdfd217e3d00b35206867982a911967a89e772b /Lib/html | |
parent | d104234f51bf1f88589ea705a6cfe1e674b4fe03 (diff) | |
download | cpython-8520e6cbb28146f9091c7af18558911f6ce74ae9.zip cpython-8520e6cbb28146f9091c7af18558911f6ce74ae9.tar.gz cpython-8520e6cbb28146f9091c7af18558911f6ce74ae9.tar.bz2 |
gh-100210: Correct the comment link for unescaping HTML (GH-100212)
(cherry picked from commit 9a07eff628c1cd88b7cdda88a8fd0db3fe7ea552)
Co-authored-by: Jean-Christophe Amiel <jeanchristophe.amiel@gmail.com>
gh-100210: correct the comment link for unescaping HTML
Diffstat (limited to 'Lib/html')
-rw-r--r-- | Lib/html/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/html/__init__.py b/Lib/html/__init__.py index da0a0a3..1543460 100644 --- a/Lib/html/__init__.py +++ b/Lib/html/__init__.py @@ -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 |