-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
C-bugCategory: This is a bug.Category: This is a bug.P-highHigh priorityHigh priorityT-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.regression-from-stable-to-betaPerformance or correctness regression from stable to beta.Performance or correctness regression from stable to beta.
Milestone
Description
Summary
Nested markdown lists as below are not rendered as nested lists, but as single-level lists.
Works as expected:
- stable (
cargo 1.58.0 (7f08ace4f 2021-11-24)
,rustdoc 1.58.0 (02072b482 2022-01-11)
) - beta (
cargo 1.58.0-beta (7f08ace4f 2021-11-24)
,rustdoc 1.58.0-beta.3 (4aa9d237c 2022-01-08)
)
Produces unintended output:
- nightly (
cargo 1.60.0-nightly (358e79fe5 2022-01-04)
,rustdoc 1.60.0-nightly (1bd4fdc94 2022-01-12)
)
Initially reported at rust-lang/docs.rs#1594.
Source input
//! * foo
//! + bar
//! + baz
Expected output
- foo
- bar
- baz
With cargo doc
(with stable toolchain):
Actual output
- foo + bar + baz
Metadata
Metadata
Assignees
Labels
C-bugCategory: This is a bug.Category: This is a bug.P-highHigh priorityHigh priorityT-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.regression-from-stable-to-betaPerformance or correctness regression from stable to beta.Performance or correctness regression from stable to beta.