瀏覽代碼

fix: give correct namespace in foreignObject (#11576)

Fix #11575
Eduardo San Martin Morote 5 年之前
父節點
當前提交
af5e05d87e
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/platforms/web/util/element.js

+ 1 - 1
src/platforms/web/util/element.js

@@ -26,7 +26,7 @@ export const isHTMLTag = makeMap(
 // contain child elements.
 export const isSVG = makeMap(
   'svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,' +
-  'foreignObject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,' +
+  'foreignobject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,' +
   'polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view',
   true
 )