Browse Source

Fix image in markdown rendering

index-subcmd
Vincent Prouillet 6 years ago
parent
commit
f07bb38c37
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      components/rendering/src/markdown.rs

+ 1
- 1
components/rendering/src/markdown.rs View File

@@ -115,7 +115,7 @@ pub fn markdown_to_html(content: &str, context: &RenderContext) -> Result<(Strin
); );
} }


Event::Start(Tag::Link(src, title))
Event::Start(Tag::Image(src, title))
}, },
Event::Start(Tag::Link(link, title)) => { Event::Start(Tag::Link(link, title)) => {
// A few situations here: // A few situations here:


Loading…
Cancel
Save