From 111d3c9067afb63b7632dd8023484a8c39afe4a0 Mon Sep 17 00:00:00 2001 From: Miodec Date: Sun, 1 Aug 2021 12:47:18 +0100 Subject: [PATCH] made new line and tab characters invisible in zen mode --- src/js/test/test-ui.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/js/test/test-ui.js b/src/js/test/test-ui.js index 6dfb5abdb..c8d17d18e 100644 --- a/src/js/test/test-ui.js +++ b/src/js/test/test-ui.js @@ -281,10 +281,10 @@ export function updateWordElement(showError) { if (Config.mode === "zen") { for (let i = 0; i < TestLogic.input.current.length; i++) { if (TestLogic.input.current[i] === "\t") { - ret += ``; + ret += ``; } else if (TestLogic.input.current[i] === "\n") { newlineafter = true; - ret += ``; + ret += ``; } else { ret += `` + TestLogic.input.current[i] + ``;