issue #523: keep newlines or set them globally to crlf or lf
Merge pull request #527 from wilberth/master

issue #523: keep newlines or set them globally to crlf or lf