Escape @ and } in templates
ProprietaryAngular 17 starts control flow blocks such as @if with @ and ends them with }, so a template can no longer use either character as text. Replaces them with the @ and } HTML entities in the text of the templates that a @Component names in templateUrl or inlines in template, as ng update does. Leaves attribute values, interpolations, ICU expressions and templates that already use block syntax alone.
org. openrewrite. angular. migration. escape-block-syntax-charactersmod run . --recipe= org. openrewrite. angular. migration. escape-block-syntax-charactersInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.