angular/packages/compiler/test/ml_parser
Kristiyan Kostadinov 7767aa640c fix(compiler): allow more characters in square-bracketed attribute names (#62742)
Currently the HTML parser will stop parsing as soon as it hits an end character in the name of an attribute (e.g. `/` or `>`). This ends up being problematic with some third-party packages like Tailwind which uses a wider range of characters for its class names. While the characters are fine when inside the `class` attribute, our current parser behavior prevents users from setting those classes conditionally through `[class.]` bindings.

These changes adjust the parser to handle such cases.

Fixes #61671.

PR Close #62742
2025-07-23 11:06:47 -04:00
..
util build: remove all usages of the interop_deps attr for ts_project and ng_project (#62732) 2025-07-21 13:03:09 -04:00
ast_serializer_spec.ts refactor(compiler): convert scripts within packages/compiler to relative imports (#60625) 2025-04-01 11:57:53 +00:00
ast_spec_utils.ts refactor(compiler): indicate in AST if node is self-closing (#61307) 2025-05-14 11:06:22 +02:00
BUILD.bazel build: remove all usages of the interop_deps attr for ts_project and ng_project (#62732) 2025-07-21 13:03:09 -04:00
html_parser_spec.ts fix(compiler): allow more characters in square-bracketed attribute names (#62742) 2025-07-23 11:06:47 -04:00
html_whitespaces_spec.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
lexer_spec.ts fix(compiler): allow more characters in square-bracketed attribute names (#62742) 2025-07-23 11:06:47 -04:00