From ecfb2b261356946d5f4a653f90c0b78db4ef519c Mon Sep 17 00:00:00 2001 From: nosaku Date: Thu, 26 Sep 2024 19:00:12 -0500 Subject: [PATCH] fix(@angular/build): add few more SVG elements animateMotion, animateTransform, and feBlend etc. to valid self-closing elements --- .../index-file/valid-self-closing-tags.ts | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/packages/angular/build/src/utils/index-file/valid-self-closing-tags.ts b/packages/angular/build/src/utils/index-file/valid-self-closing-tags.ts index 0e70d8e0760b..f86d556b36f0 100644 --- a/packages/angular/build/src/utils/index-file/valid-self-closing-tags.ts +++ b/packages/angular/build/src/utils/index-file/valid-self-closing-tags.ts @@ -25,8 +25,35 @@ export const VALID_SELF_CLOSING_TAGS = new Set([ /** 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',