diff --git a/components/rendering/src/markdown.rs b/components/rendering/src/markdown.rs index 78f6a5f5..50ba80ec 100644 --- a/components/rendering/src/markdown.rs +++ b/components/rendering/src/markdown.rs @@ -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)) => { // A few situations here: