Explorar el Código

fix: give correct namespace in foreignObject (#11576)

Fix #11575
Eduardo San Martin Morote hace 5 años
padre
commit
af5e05d87e
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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
 )