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
S
Sascha Ißbrücker committed
77b14a6d58e527f915966446eb0866652a46feb5
Parent: 3dfed23
Committed by GitHub <noreply@github.com>
on 5/7/2025, 3:49:49 PM