rustdoc: recursive footnote not rendered correctly · Issue #131946 · rust-lang/rust (original) (raw)

rustdoc footnote-hell.md

footnote-hell

Hello [^a].

[^a]: meow [^b] [^b]: uwu [^a]

I expected to see this happen: all the links are correct, the backlinks are at least not completely wrong

Instead, this happened: a mess

Image

The backlinks are #fnref1 and #fnref2 respectively, which seems correct.

Meta

rustc --version --verbose:

rustdoc 1.84.0-nightly (3ed6e3cc6 2024-10-17)