Handle html in markdown as well

This commit is contained in:
Guillaume Gomez 2017-03-11 18:09:59 +01:00
parent 6a2190c18e
commit e51f3253be

View file

@ -422,6 +422,9 @@ pub fn render(w: &mut fmt::Formatter,
Event::Start(Tag::Strong) => {
strong(parser, buffer, toc_builder, shorter);
}
Event::Html(h) | Event::InlineHtml(h) => {
buffer.push_str(&*h);
}
_ => {}
}
shorter.is_fancy()