changing the default behavior so that newlines get converted by default and whitespace is preserved during newline replacement