white-space: pre
The newline position from one line was getting used repeatedly, causing extra "phantom" newlines in the following lines. Fixes #3413.