Fix invalid HTML markup

This fixes the invalid HTML by indenting the rest of the <body> contents
to they are actually inside the <body> instead of awkwardly nested
between the </body> and </html>