diff --git a/cpp/QrCode.cpp b/cpp/QrCode.cpp index 866c33a..3e3e5ab 100644 --- a/cpp/QrCode.cpp +++ b/cpp/QrCode.cpp @@ -171,6 +171,7 @@ std::string qrcodegen::QrCode::toSvgString(int border) const { sb << "\n"; sb << "\n"; + sb << "\t\n" sb << "\t\n"); sb.append("\n"); sb.append(String.format("\n", size + border * 2)); + sb.append("\t\n"); sb.append("\t\n"; result += "\n"; result += "\n"; + result += "\t\n"; result += "\t + """.format(self.size + border * 2, " ".join(parts))