cpython/Lib/html
Sascha Ißbrücker 77b14a6d58
gh-69426: HTMLParser: only unescape properly terminated character entities in attribute values (GH-95215)
According to the HTML5 spec, named character references in attribute values
should only be processed if they are not followed by an ASCII alphanumeric,
or an equals sign.

https://html.spec.whatwg.org/multipage/parsing.html#named-character-reference-state
2025-05-07 18:49:49 +03:00
..
__init__.py
entities.py
parser.py gh-69426: HTMLParser: only unescape properly terminated character entities in attribute values (GH-95215) 2025-05-07 18:49:49 +03:00