HTML validation cleanup