Skip to content

Commit

Permalink
pythongh-100210: Correct the comment link for unescaping HTML (python…
Browse files Browse the repository at this point in the history
…#100212)

pythongh-100210: correct the comment link for unescaping HTML
  • Loading branch information
jcamiel authored Feb 19, 2023
1 parent 0729359 commit 9a07eff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/html/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9a07eff

Please sign in to comment.