Skip to content

Commit e0875de

Browse files
alan-agius4filipesilva
authored andcommitted
fix(@angular-devkit/build-angular): remove title attribute from inlined fonts style tag
title is not a valid style tag attribute. Closes #19271
1 parent 0dd9367 commit e0875de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/angular_devkit/build_angular/src/utils/index-file/inline-fonts.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ export class InlineFontsProcessor {
8181
if (hrefAttr) {
8282
const href = hrefAttr.value;
8383
const cssContent = hrefsContent.get(href);
84-
rewriter.emitRaw(`<style type="text/css" title="${href}">${cssContent}</style>`);
84+
rewriter.emitRaw(`<style type="text/css">${cssContent}</style>`);
8585
} else {
8686
rewriter.emitStartTag(tag);
8787
}

0 commit comments

Comments
 (0)