Skip to content

rustdoc: recursive footnote not rendered correctly #131946

Closed
@Noratrieb

Description

@Noratrieb

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 first 1 points to #fn1
  • The second 1 points to #b
  • The third 1 points to #a

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

Meta

rustc --version --verbose:

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-rustdoc-uiArea: Rustdoc UI (generated HTML)C-bugCategory: This is a bug.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.T-rustdoc-frontendRelevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions