mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
add missed nl
This commit is contained in:
parent
3358a89735
commit
3bdabbe1b8
1 changed files with 1 additions and 1 deletions
|
|
@ -56,7 +56,7 @@ impl Markdown {
|
|||
buffer.set_text(
|
||||
Regex::new(r"\n{3,}")
|
||||
.unwrap()
|
||||
.replace_all(&strip_tags(markdown), "\n")
|
||||
.replace_all(&strip_tags(markdown), "\n\n")
|
||||
.trim(),
|
||||
); // @TODO extract `<img>` tags?
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue