Commit 6d8ef91
authored
fix(custom-text): Don't trim custom text (@Leonabcd123) (monkeytypegame#7170)
### Description
Removed the `.trim()` call that deleted leading and trailing literal
tabs or newlines from custom text.
This is to make sure that no matter what the custom text is, it will
always stay the same after updating it. The current problem is that
leading and trailing tabs and newlines will be removed when you click on
"change" and "ok" for the second time (because they're now in their
literal form, not \t and \n).1 parent 5d3bcb7 commit 6d8ef91
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
269 | 269 | | |
270 | 270 | | |
271 | 271 | | |
272 | | - | |
| 272 | + | |
273 | 273 | | |
274 | 274 | | |
275 | 275 | | |
| |||
0 commit comments