Sanitize \r in changelog generator example
This commit is contained in:
parent
82544c39ca
commit
9d81ec8b42
1 changed files with 1 additions and 1 deletions
|
|
@ -354,7 +354,7 @@ impl PullRequest {
|
|||
Ok(Self {
|
||||
id: contribution.id,
|
||||
title: schema.title,
|
||||
description: schema.body,
|
||||
description: schema.body.map(|body| body.replace("\r", "")),
|
||||
labels: schema.labels.into_iter().map(|label| label.name).collect(),
|
||||
author: schema.user.login,
|
||||
created_at: schema.created_at.parse()?,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue