[3.14] gh-69426: HTMLParser: only unescape properly terminated character entities in attribute values (GH-95215) (GH-133704)
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. (cherry picked from commit 77b14a6d58e527f915966446eb0866652a46feb5) https: //html.spec.whatwg.org/multipage/parsing.html#named-character-reference-state Co-authored-by: Sascha Ißbrücker <sascha.issbruecker@googlemail.com>
M
Miss Islington (bot) committed
3937c78e36648193ec0e91ca1d10b39680d7c657
Parent: 8e86f9c
Committed by GitHub <noreply@github.com>
on 5/9/2025, 6:43:21 AM