Strip inline linebreaks from LineFormatter entries.

This PR ensures that there will never be inline line breaks when using the `LineFormatter`. The allow the old behavior to be reenabled, a constructor flag has been added.

Fix #321.