Clean up HTML validation