Cleanup HTML validation errors