From 0335d6a5df1c0b0706673e6152e3bf5eb65d166a Mon Sep 17 00:00:00 2001 From: Alan Agius Date: Tue, 16 Apr 2024 15:03:24 +0000 Subject: [PATCH] fix(@angular-devkit/build-angular): remove `type="text/css"` from `style` tag `type="text/css"` is deprecated, for more info see: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/style#deprecated_attributes Closes: #27471 (cherry picked from commit 43816a5b2d4c03a4cdd7c66fb16ddf0dd47b8124) --- .../build_angular/src/utils/index-file/inline-fonts.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/angular_devkit/build_angular/src/utils/index-file/inline-fonts.ts b/packages/angular_devkit/build_angular/src/utils/index-file/inline-fonts.ts index c4775e9a4ac4..21a783d893f3 100644 --- a/packages/angular_devkit/build_angular/src/utils/index-file/inline-fonts.ts +++ b/packages/angular_devkit/build_angular/src/utils/index-file/inline-fonts.ts @@ -154,7 +154,7 @@ export class InlineFontsProcessor { if (hrefAttr) { const href = hrefAttr.value; const cssContent = hrefsContent.get(href); - rewriter.emitRaw(``); + rewriter.emitRaw(``); } else { rewriter.emitStartTag(tag); }