Handle html in markdown as well
This commit is contained in:
parent
6a2190c18e
commit
e51f3253be
1 changed files with 3 additions and 0 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue