From 34bd4cd827ec644f79a9623efa26b665dfef916c Mon Sep 17 00:00:00 2001 From: Miodec Date: Thu, 27 Jul 2023 13:47:31 +0200 Subject: [PATCH] added a bit of extra space to the tab character --- frontend/src/ts/test/test-ui.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/frontend/src/ts/test/test-ui.ts b/frontend/src/ts/test/test-ui.ts index 084b58ae2..65230ff88 100644 --- a/frontend/src/ts/test/test-ui.ts +++ b/frontend/src/ts/test/test-ui.ts @@ -162,7 +162,7 @@ function getWordHTML(word: string): string { if (funbox?.functions?.getWordHtml) { retval += funbox.functions.getWordHtml(word.charAt(c), true); } else if (word.charAt(c) === "\t") { - retval += ``; + retval += ``; } else if (word.charAt(c) === "\n") { newlineafter = true; retval += ``; @@ -541,7 +541,7 @@ export function updateWordElement(showError = !Config.blindMode): void { if (Config.mode === "zen") { for (let i = 0; i < TestInput.input.current.length; i++) { if (TestInput.input.current[i] === "\t") { - ret += ``; + ret += ``; } else if (TestInput.input.current[i] === "\n") { newlineafter = true; ret += ``; @@ -612,7 +612,7 @@ export function updateWordElement(showError = !Config.blindMode): void { } } else if (currentLetter === "\t") { tabChar = "tabChar"; - currentLetter = ``; + currentLetter = ``; } else if (currentLetter === "\n") { nlChar = "nlChar"; currentLetter = ``; @@ -674,7 +674,7 @@ export function updateWordElement(showError = !Config.blindMode): void { if (funbox?.functions?.getWordHtml) { ret += funbox.functions.getWordHtml(currentWord[i], true); } else if (currentWord[i] === "\t") { - ret += ``; + ret += ``; } else if (currentWord[i] === "\n") { ret += ``; } else {