diff options
| author | bors <bors@rust-lang.org> | 2023-02-25 16:48:04 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-02-25 16:48:04 +0000 |
| commit | 31448badfd74ea72d2c8622cc60d3dca889ef7d4 (patch) | |
| tree | d6037bc3a65c76247c006dac6665f67932423873 /src/librustdoc/html | |
| parent | dcca6a375bd4eddb3deea7038ebf29d02af53b48 (diff) | |
| parent | 2aad179b4ec2fa1155ad0affdaae7b9db193a7fb (diff) | |
| download | rust-31448badfd74ea72d2c8622cc60d3dca889ef7d4.tar.gz rust-31448badfd74ea72d2c8622cc60d3dca889ef7d4.zip | |
Auto merge of #108450 - matthiaskrgr:rollup-rqvfgu3, r=matthiaskrgr
Rollup of 7 pull requests Successful merges: - #108354 (Update `fuchsia-test-runner.py` and docs) - #108404 (support `x fmt` for sub and outside of rust directories) - #108407 (docs: use intra-doc links for `Vec::get(_mut)`) - #108410 (rustdoc: avoid including `<li>` tags in item table short desc) - #108412 (Fix GUI test navigation bug) - #108433 (Wrap missing provider message correctly) - #108434 (Migrate `rustc_hir_analysis` to session diagnostic [Part One]) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Diffstat (limited to 'src/librustdoc/html')
| -rw-r--r-- | src/librustdoc/html/markdown.rs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/librustdoc/html/markdown.rs b/src/librustdoc/html/markdown.rs index 9ef0b501c08..89f1ad71134 100644 --- a/src/librustdoc/html/markdown.rs +++ b/src/librustdoc/html/markdown.rs @@ -552,10 +552,7 @@ impl<'a, I: Iterator<Item = Event<'a>>> SummaryLine<'a, I> { } fn check_if_allowed_tag(t: &Tag<'_>) -> bool { - matches!( - t, - Tag::Paragraph | Tag::Item | Tag::Emphasis | Tag::Strong | Tag::Link(..) | Tag::BlockQuote - ) + matches!(t, Tag::Paragraph | Tag::Emphasis | Tag::Strong | Tag::Link(..) | Tag::BlockQuote) } fn is_forbidden_tag(t: &Tag<'_>) -> bool { |
