mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-03-12 15:08:45 +08:00
replacing ellipsis with 3 dots
This commit is contained in:
parent
2400d43943
commit
fd1d5d5ce5
1 changed files with 1 additions and 0 deletions
|
@ -672,6 +672,7 @@ export async function init() {
|
|||
rq.text = rq.text.replace(/\\t/gm, "\t");
|
||||
rq.text = rq.text.replace(/\\n/gm, "\n");
|
||||
rq.text = rq.text.replace(/( *(\r\n|\r|\n) *)/g, "\n ");
|
||||
rq.text = rq.text.replace(/…/g, "...");
|
||||
rq.text = rq.text.trim();
|
||||
|
||||
setRandomQuote(rq);
|
||||
|
|
Loading…
Reference in a new issue