Skip to content

Commit

Permalink
fix(@angular/build): add few more SVG elements animateMotion, animate…
Browse files Browse the repository at this point in the history
…Transform, and feBlend etc. to valid self-closing elements

(cherry picked from commit ecfb2b2)
  • Loading branch information
nosaku authored and clydin committed Sep 27, 2024
1 parent 3f98193 commit 2648e81
Showing 1 changed file with 27 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,35 @@ export const VALID_SELF_CLOSING_TAGS = new Set([
'wbr',
/** SVG tags */
'animate',
'animateMotion',
'animateTransform',
'circle',
'ellipse',
'feBlend',
'feColorMatrix',
'feComponentTransfer',
'feComposite',
'feConvolveMatrix',
'feDiffuseLighting',
'feDisplacementMap',
'feDistantLight',
'feDropShadow',
'feFlood',
'feFuncA',
'feFuncB',
'feFuncG',
'feFuncR',
'feGaussianBlur',
'feImage',
'feMerge',
'feMergeNode',
'feMorphology',
'feOffset',
'fePointLight',
'feSpecularLighting',
'feSpotLight',
'feTile',
'feTurbulence',
'line',
'path',
'polygon',
Expand Down

0 comments on commit 2648e81

Please sign in to comment.