Remove closing </html> tag from output

My pages were not validating because of an extra </html> in the middle of the page. Should strip it out.