diff --git a/javascript/qrcodegen.js b/javascript/qrcodegen.js index 14416cd..4f28398 100644 --- a/javascript/qrcodegen.js +++ b/javascript/qrcodegen.js @@ -208,11 +208,11 @@ var qrcodegen = new function() { this.toSvgString = function(border) { if (border < 0) throw "Border must be non-negative"; - var result = "\n"; - result += "\n"; - result += "\n"; - result += "\t\n"; - result += "\t\n'; + result += '\t\n'; + result += '\t\n"; - result += "\n"; + result += '" fill="#000000"/>\n'; + result += '\n'; return result; };