mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-11-08 05:03:39 +08:00
fixed word input after evaluating html. closes #1348
This commit is contained in:
parent
051be46e22
commit
ed8e34a305
1 changed files with 3 additions and 1 deletions
|
|
@ -822,7 +822,9 @@ $(document).on("mouseenter", "#resultWordsHistory .words .word", (e) => {
|
|||
$(e.currentTarget).append(
|
||||
`<div class="wordInputAfter">${input
|
||||
.replace(/\t/g, "_")
|
||||
.replace(/\n/g, "_")}</div>`
|
||||
.replace(/\n/g, "_")
|
||||
.replace(/</g, "<")
|
||||
.replace(/>/g, ">")}</div>`
|
||||
);
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue