We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a00a8bb commit 016e550Copy full SHA for 016e550
1 file changed
frontend/src/ts/test/test-ui.ts
@@ -871,7 +871,13 @@ export async function updateWordElement(
871
) {
872
ret += `<letter class="${
873
Config.highlightMode === "word" ? wordHighlightClassString : ""
874
- } dead">${currentLetter}</letter>`;
+ } dead">${
875
+ Config.indicateTypos === "replace"
876
+ ? input[i] === " "
877
+ ? "_"
878
+ : input[i]
879
+ : currentLetter
880
+ }</letter>`;
881
} else if (!showError) {
882
if (currentLetter !== undefined) {
883
0 commit comments