Browse Source

fix: give correct namespace in foreignObject (#11576)

Fix #11575
dev
Eduardo San Martin Morote 4 years ago
committed by GitHub
parent
commit
af5e05d87e
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/platforms/web/util/element.js

2
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
)

Loading…
Cancel
Save