-
Notifications
You must be signed in to change notification settings - Fork 12.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rustdoc: some nested lists are rendered incorrectly #92971
Comments
I need to confirm if it comes from rustdoc or pulldown-cmark. I'll try to fix it in the next days. |
This is a regression in pulldown-cmark, I have opened pulldown-cmark/pulldown-cmark#567 |
This also affects |
Thanks @ehuss ! |
A patch release of pulldown-cmark is about to be released. Could someone open a PR to update to it? |
Ok, release is out. |
Just opened #93012 for it. |
Marking as P-high: regression that breaks relatively simple Markdown syntax |
…elid Update pulldown-cmark version to fix markdown list issue Fixes rust-lang#92971. r? `@camelid`
…elid Update pulldown-cmark version to fix markdown list issue Fixes rust-lang#92971. r? ``@camelid``
…elid Update pulldown-cmark version to fix markdown list issue Fixes rust-lang#92971. r? ```@camelid```
Summary
Nested markdown lists as below are not rendered as nested lists, but as single-level lists.
Works as expected:
cargo 1.58.0 (7f08ace4f 2021-11-24)
,rustdoc 1.58.0 (02072b482 2022-01-11)
)cargo 1.58.0-beta (7f08ace4f 2021-11-24)
,rustdoc 1.58.0-beta.3 (4aa9d237c 2022-01-08)
)Produces unintended output:
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
Expected output
With
cargo doc
(with stable toolchain):Actual output
With
cargo +nightly doc
with nightly toolchain:The text was updated successfully, but these errors were encountered: