in my case, I had to use two trailing spaces at the end of each line
For example,
> and it works
> perfectly
> fine
would be come
and it works
perfectly
fine
the other answer did not work as expected (lines still went up or extra empty lines were added).