add newline at the end when pretty=1
Merge pull request #10 from hacking-thursday/tsaikd

add newline at the end when pretty=1