Skip to content

Commit

Permalink
fix(@angular/build): add animate to valid self-closing elements
Browse files Browse the repository at this point in the history
The `<animate>` tag, used for SVG animations, was incorrectly treated as a non-self-closing tag by the Angular build process. This resulted in errors during the build, as the parser expected a closing `</animate>` tag even when unnecessary.

Closes #28502
  • Loading branch information
alan-agius4 committed Sep 26, 2024
1 parent c6dd469 commit dd49949
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ export const VALID_SELF_CLOSING_TAGS = new Set([
'wbr',

/** SVG tags */
'animate',
'circle',
'ellipse',
'line',
Expand Down

0 comments on commit dd49949

Please sign in to comment.