Skip to content

Commit

Permalink
export to png bug fix; fixes #1671
Browse files Browse the repository at this point in the history
  • Loading branch information
junedchhipa committed Oct 30, 2021
1 parent fbfe9d6 commit 6789418
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/Exports.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class Exports {
// IE11 generates broken SVG that we have to fix by using regex
if (!Utils.isIE11()) {
// not IE11 - noop
return svgData
return svgData.replace(/ /g, ' ')
}

// replace second occurrence of "xmlns" attribute with "xmlns:xlink" with correct url + add xmlns:svgjs
Expand Down

0 comments on commit 6789418

Please sign in to comment.