ff9f4de4f1
Within an angular template, when a character entity is unable to be parsed, previously a generic unexpected character error was thrown. This does not properly express the issue that was discovered as the issue is actually caused by the discovered character making the whole of the entity unparsable. The compiler will now instead inform via the error message what string was attempted to be parsed and what it was attempted to be parsed as. Example, for this template: ``` <p> ģp </p> ``` Before this change: `Unexpected character "p"` After this change: `Unable to parse entity "ģp" - hexadecimal character reference entities must end with ";"` Fixes #26067 PR Close #38319 |
||
---|---|---|
.. | ||
util | ||
BUILD.bazel | ||
ast_serializer_spec.ts | ||
ast_spec_utils.ts | ||
html_parser_spec.ts | ||
html_whitespaces_spec.ts | ||
icu_ast_expander_spec.ts | ||
lexer_spec.ts |