diff --git a/src/tool/parseSVG.ts b/src/tool/parseSVG.ts index 7a071a2fb..7f52f19dc 100644 --- a/src/tool/parseSVG.ts +++ b/src/tool/parseSVG.ts @@ -479,7 +479,7 @@ class SVGParser { parseAttributes(xmlNode, img, this._defsUsePending, false, false); img.setStyle({ - image: xmlNode.getAttribute('xlink:href'), + image: xmlNode.getAttribute('xlink:href') || xmlNode.getAttribute('href'), x: +xmlNode.getAttribute('x'), y: +xmlNode.getAttribute('y'), width: +xmlNode.getAttribute('width'),