diff --git a/src/librustdoc/html/markdown.rs b/src/librustdoc/html/markdown.rs
index 0e4c5410abe1e..fb17eb462e145 100644
--- a/src/librustdoc/html/markdown.rs
+++ b/src/librustdoc/html/markdown.rs
@@ -1057,7 +1057,7 @@ fn markdown_summary_with_limit(md: &str, length_limit: usize) -> (String, bool)
*text_length += text.len();
};
- 'outer: for event in Parser::new_ext(md, Options::ENABLE_STRIKETHROUGH) {
+ 'outer: for event in Parser::new_ext(md, summary_opts()) {
match &event {
Event::Text(text) => {
for word in text.split_inclusive(char::is_whitespace) {