Skip to content

Commit 2ee34a0

Browse files
committed
Use summary_opts() in another spot
I added `summary_opts()` before I cut the branch for rust-lang#77686 (2 months ago!), so this "slipped through the cracks".
1 parent 5bb68c3 commit 2ee34a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustdoc/html/markdown.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1057,7 +1057,7 @@ fn markdown_summary_with_limit(md: &str, length_limit: usize) -> (String, bool)
10571057
*text_length += text.len();
10581058
};
10591059

1060-
'outer: for event in Parser::new_ext(md, Options::ENABLE_STRIKETHROUGH) {
1060+
'outer: for event in Parser::new_ext(md, summary_opts()) {
10611061
match &event {
10621062
Event::Text(text) => {
10631063
for word in text.split_inclusive(char::is_whitespace) {

0 commit comments

Comments
 (0)