mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-28 02:57:37 +00:00
Use summary_opts()
in another spot
I added `summary_opts()` before I cut the branch for #77686 (2 months ago!), so this "slipped through the cracks".
This commit is contained in:
parent
5bb68c31f8
commit
2ee34a0923
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user