Tidy up HTML validation