diff --git a/src/librustdoc/html/markdown.rs b/src/librustdoc/html/markdown.rs
index a40181352f6..1c0448828a2 100644
--- a/src/librustdoc/html/markdown.rs
+++ b/src/librustdoc/html/markdown.rs
@@ -565,7 +565,7 @@ fn next(&mut self) -> Option {
self.buf.push_back((Event::Html(format!("", level).into()), 0..0));
let start_tags = format!(
- "