Fix image in markdown rendering

This commit is contained in:
Vincent Prouillet 2018-05-18 14:51:44 +02:00
parent 28641fc223
commit f07bb38c37

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)) => {
// A few situations here: