export: Remove each line's end spaces

Known Issue: Last spaces is not removed.
This commit is contained in:
Calcitem 2021-06-12 23:38:55 +08:00
parent f517c7a776
commit 0727da134f
1 changed files with 2 additions and 0 deletions

View File

@ -245,6 +245,8 @@ class GameRecorder {
moveHistoryText = ""; moveHistoryText = "";
} }
moveHistoryText = moveHistoryText.replaceAll(' \n', '\n');
return moveHistoryText; return moveHistoryText;
} }
} }