fix: give correct namespace in foreignObject (#11576)

Fix #11575
This commit is contained in:
Eduardo San Martin Morote 2021-03-30 12:11:55 +02:00 committed by GitHub
parent 7e5dc6bd9e
commit af5e05d87e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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