From ab11cb0b4a0be026ec13fae665f6698040b70161 Mon Sep 17 00:00:00 2001 From: LarsVomMars Date: Sun, 14 Feb 2021 13:21:48 +0100 Subject: Fixed qr spaces --- cli.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli.js') diff --git a/cli.js b/cli.js index 8bed403..e2f02e7 100755 --- a/cli.js +++ b/cli.js @@ -113,7 +113,7 @@ if ((idx = params.indexOf("-r")) > -1) { // QR-Code.. DON'T ASK hay = next; - obj.qrcode = answer("QR-Code Text (z.B. Social Media Links, random Text, whatever)"); + obj.qrcode = answer("QR-Code Text (z.B. Social Media Links, random Text, whatever)").replace(/ /g, "\\ "); if (obj.qrcode === "nichts") obj.qrcode = ""; hay = curr; -- cgit v1.2.3