Add a page title, and strip extra whitespace from the HTML.