Fix markup validation errors.