diff --git a/src/platforms/web/util/element.js b/src/platforms/web/util/element.js index 8e69c7d105c..5d5a0057439 100644 --- a/src/platforms/web/util/element.js +++ b/src/platforms/web/util/element.js @@ -25,8 +25,8 @@ export const isHTMLTag = makeMap( // this map is intentionally selective, only covering SVG elements that may // contain child elements. export const isSVG = makeMap( - 'svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,' + - 'font-face,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,' + + 'svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,' + + 'foreignObject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,' + 'polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view', true )