summaryrefslogtreecommitdiffstats
path: root/Lib/html/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/html/__init__.py')
-rw-r--r--Lib/html/__init__.py2
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