Tidy up the plain HTML templates.