diff --git a/frontend/src/js/test/test-ui.js b/frontend/src/js/test/test-ui.js index 2324338f9..78f604958 100644 --- a/frontend/src/js/test/test-ui.js +++ b/frontend/src/js/test/test-ui.js @@ -452,7 +452,11 @@ export function updateWordElement(showError = !Config.blindMode) { ? wordHighlightClassString : "incorrect" } ${tabChar}${nlChar}">` + - (Config.indicateTypos === "replace" ? input[i] : currentLetter) + + (Config.indicateTypos === "replace" + ? input[i] == " " + ? "_" + : input[i] + : currentLetter) + (Config.indicateTypos === "below" ? `${input[i]}` : "") + ""; }