|
|
@@ -51,7 +51,7 @@ function updateDOMProps (oldVnode: VNodeWithData, vnode: VNodeWithData) {
|
|
|
} else if (key === 'innerHTML' && isSVG(elm.tagName) && isUndef(elm.innerHTML)) {
|
|
|
// IE doesn't support innerHTML for SVG elements
|
|
|
svgContainer = svgContainer || document.createElement('div')
|
|
|
- svgContainer.innerHTML = `<svg>${cur}</svg>`
|
|
|
+ svgContainer[key] = `<svg>${cur}</svg>`
|
|
|
const svg = svgContainer.firstChild
|
|
|
while (elm.firstChild) {
|
|
|
elm.removeChild(elm.firstChild)
|