fix replace newlines
Merge pull request #2 from yadimon/master

fix replace newlines