We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0729359 commit 9a07effCopy full SHA for 9a07eff
Lib/html/__init__.py
@@ -25,7 +25,7 @@ def escape(s, quote=True):
25
return s
26
27
28
-# 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
29
30
_invalid_charrefs = {
31
0x00: '\ufffd', # REPLACEMENT CHARACTER
0 commit comments