add missed nl

This commit is contained in:
yggverse 2026-03-13 23:05:30 +02:00
parent 3358a89735
commit 3bdabbe1b8

View file

@ -56,7 +56,7 @@ impl Markdown {
buffer.set_text( buffer.set_text(
Regex::new(r"\n{3,}") Regex::new(r"\n{3,}")
.unwrap() .unwrap()
.replace_all(&strip_tags(markdown), "\n") .replace_all(&strip_tags(markdown), "\n\n")
.trim(), .trim(),
); // @TODO extract `<img>` tags? ); // @TODO extract `<img>` tags?