mirror of
https://github.com/YGGverse/flarumdown.git
synced 2026-03-31 16:55:29 +00:00
trim final content string
This commit is contained in:
parent
11dcc0b2b4
commit
b9e833c0ca
1 changed files with 1 additions and 1 deletions
|
|
@ -117,7 +117,7 @@ fn main() -> Result<()> {
|
|||
.unwrap_or_default()
|
||||
));
|
||||
content.push("---".into());
|
||||
content.push(convert(&strip_tags(&post.content), None)?)
|
||||
content.push(convert(strip_tags(&post.content).trim(), None)?)
|
||||
}
|
||||
content.join("\n")
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue