Consider line with `|` alone empty in plain text format. Fixes #1816.
atests: Trailing spaces

- Added a note not to remove them in a place where they are on purpose.
- Removed them from other places.