diff --git a/src/utils/downloader.js b/src/utils/downloader.js index db203fd..a571a60 100644 --- a/src/utils/downloader.js +++ b/src/utils/downloader.js @@ -7,7 +7,7 @@ export function isChrome() { export function saveSvg(filename, content) { let htmlContent = [svgHead + content] - let bl = new Blob(htmlContent, {type: "text/html"}) + let bl = new Blob(htmlContent, {type: "image/svg+xml"}) let a = document.createElement("a") filename = "QRcode_" + filename + ".svg"