correct importation with gradients

master
Mark MacKay 2021-06-16 15:16:08 -05:00
parent 69839f2a19
commit fbed0d8a51
1 changed files with 2 additions and 0 deletions

View File

@ -6008,6 +6008,8 @@ this.importSvgString = function(xmlString) {
this.prepareSvg(newDoc); this.prepareSvg(newDoc);
newDoc = this.styleToAttr(newDoc);
// import new svg document into our document // import new svg document into our document
var svg = svgdoc.adoptNode(newDoc.documentElement); var svg = svgdoc.adoptNode(newDoc.documentElement);