diff --git a/frontend/src/ts/popups/custom-text-popup.ts b/frontend/src/ts/popups/custom-text-popup.ts index d95a57f62..b8e401072 100644 --- a/frontend/src/ts/popups/custom-text-popup.ts +++ b/frontend/src/ts/popups/custom-text-popup.ts @@ -183,7 +183,7 @@ $(`${popup} .randomInputFields .time input`).on("keypress", () => { function apply(): void { let text = ($(`${popup} textarea`).val() as string).normalize(); - // text = text.trim(); + text = text.trim(); // text = text.replace(/[\r]/gm, " "); text = text.replace(/\\\\t/gm, "\t"); text = text.replace(/\\\\n/gm, "\n");