Skip to content

Commit 2648e81

Browse files
nosakuclydin
authored andcommitted
fix(@angular/build): add few more SVG elements animateMotion, animateTransform, and feBlend etc. to valid self-closing elements
(cherry picked from commit ecfb2b2)
1 parent 3f98193 commit 2648e81

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
@@ -24,8 +24,35 @@ export const VALID_SELF_CLOSING_TAGS = new Set([
2424
'wbr',
2525
/** SVG tags */
2626
'animate',
27+
'animateMotion',
28+
'animateTransform',
2729
'circle',
2830
'ellipse',
31+
'feBlend',
32+
'feColorMatrix',
33+
'feComponentTransfer',
34+
'feComposite',
35+
'feConvolveMatrix',
36+
'feDiffuseLighting',
37+
'feDisplacementMap',
38+
'feDistantLight',
39+
'feDropShadow',
40+
'feFlood',
41+
'feFuncA',
42+
'feFuncB',
43+
'feFuncG',
44+
'feFuncR',
45+
'feGaussianBlur',
46+
'feImage',
47+
'feMerge',
48+
'feMergeNode',
49+
'feMorphology',
50+
'feOffset',
51+
'fePointLight',
52+
'feSpecularLighting',
53+
'feSpotLight',
54+
'feTile',
55+
'feTurbulence',
2956
'line',
3057
'path',
3158
'polygon',

0 commit comments

Comments
 (0)