Add new constructor for markdown::Content

This commit is contained in:
Héctor Ramón Jiménez 2025-01-31 20:49:25 +01:00
parent bc2d662af7
commit 095859ed57
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
2 changed files with 6 additions and 6 deletions

View file

@ -74,7 +74,7 @@ impl Markdown {
if enable_stream {
self.mode = Mode::Stream {
pending: self.content.text(),
parsed: markdown::Content::parse(""),
parsed: markdown::Content::new(),
};
scrollable::snap_to(