added newline to end of header and body blocks in View

issue #237