fixes #18: <body> tag closed before page content

Fixes #18.