Eliminate trailing newline splits