Fix HTML after validation.