Skip to content

Commit ecfb2b2

Browse files
nosakuclydin
authored andcommitted
fix(@angular/build): add few more SVG elements animateMotion, animateTransform, and feBlend etc. to valid self-closing elements
1 parent 6ba2208 commit ecfb2b2

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

packages/angular/build/src/utils/index-file/valid-self-closing-tags.ts

+27
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,35 @@ export const VALID_SELF_CLOSING_TAGS = new Set([
2525

2626
/** SVG tags */
2727
'animate',
28+
'animateMotion',
29+
'animateTransform',
2830
'circle',
2931
'ellipse',
32+
'feBlend',
33+
'feColorMatrix',
34+
'feComponentTransfer',
35+
'feComposite',
36+
'feConvolveMatrix',
37+
'feDiffuseLighting',
38+
'feDisplacementMap',
39+
'feDistantLight',
40+
'feDropShadow',
41+
'feFlood',
42+
'feFuncA',
43+
'feFuncB',
44+
'feFuncG',
45+
'feFuncR',
46+
'feGaussianBlur',
47+
'feImage',
48+
'feMerge',
49+
'feMergeNode',
50+
'feMorphology',
51+
'feOffset',
52+
'fePointLight',
53+
'feSpecularLighting',
54+
'feSpotLight',
55+
'feTile',
56+
'feTurbulence',
3057
'line',
3158
'path',
3259
'polygon',

0 commit comments

Comments
 (0)