From 94e2db14f38a858c57148af2a55932f7e688cf57 Mon Sep 17 00:00:00 2001 From: Miodec Date: Mon, 18 Jan 2021 16:58:54 +0000 Subject: [PATCH 1/3] fixed new line and tabs not parsing properly --- src/js/script.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/js/script.js b/src/js/script.js index 75ab1e415..72b36c3d2 100644 --- a/src/js/script.js +++ b/src/js/script.js @@ -4069,6 +4069,8 @@ $("#customTextPopup .button").click(() => { // text = text.replace(/[\r]/gm, " "); text = text.replace(/\\\\t/gm, "\t"); text = text.replace(/\\\\n/gm, "\n"); + text = text.replace(/\\t/gm, "\t"); + text = text.replace(/\\n/gm, "\n"); text = text.replace(/ +/gm, " "); // text = text.replace(/(\r\n)+/g, "\r\n"); // text = text.replace(/(\n)+/g, "\n"); From c0b8f2bd916a8cb71a15592f7733272a02522e5f Mon Sep 17 00:00:00 2001 From: Miodec Date: Mon, 18 Jan 2021 16:59:00 +0000 Subject: [PATCH 2/3] removed message --- static/index.html | 5 ----- 1 file changed, 5 deletions(-) diff --git a/static/index.html b/static/index.html index 544576a33..c38ab5454 100644 --- a/static/index.html +++ b/static/index.html @@ -1592,11 +1592,6 @@ esc ) -
- For testing purposes, account config synchronisation has been - temporarily disabled (only local config will be remembered). Sorry - for the inconvenience. -