I'm copying a lot of source code into LibreOffice Writer. It is inserted with new paragraph line ending instead of newline line ending. That consumes a lot of vertical space and make document look ugly.
I'm looking for quickest way to make lines ended with newline characters.