Fix new line characted being placed in the wrong place
Merge pull request #22 from HarrisYip/master

Fix new line characted being placed in the wrong place