Skip to content

Commit 31347d1

Browse files
committed
remove font from isSVG detection to avoid issues with legacy markup using the tag in HTML (close vuejs#4459)
1 parent 4cca507 commit 31347d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/platforms/web/util/element.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export const isHTMLTag = makeMap(
2626
// this map is intentionally selective, only covering SVG elements that may
2727
// contain child elements.
2828
export const isSVG = makeMap(
29-
'svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font,' +
29+
'svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,' +
3030
'font-face,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,' +
3131
'polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view',
3232
true

0 commit comments

Comments
 (0)