Deal with different newlines