diff --git a/src/librustdoc/html/markdown.rs b/src/librustdoc/html/markdown.rs
index 09006d9ef829..d823e2bc1f56 100644
--- a/src/librustdoc/html/markdown.rs
+++ b/src/librustdoc/html/markdown.rs
@@ -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()