Fixed newline preservation