8000 Multiple footnotes in a row are not rendered correctly · Issue #2687 · rust-lang/mdBook · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Multiple footnotes in a row are not rendered correctly #2687

New issue

Have a questi 8000 on 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

Open
pamolloy opened this issue May 5, 2025 · 1 comment
Open

Multiple footnotes in a row are not rendered correctly #2687

pamolloy opened this issue May 5, 2025 · 1 comment
Labels
A-footnotes Area: footnotes C-bug Category: A bug, incorrect or unintended behavior
Milestone

Comments

@pamolloy
Copy link
pamolloy commented May 5, 2025

Problem

When listing more than one footnote in a row without spaces in between them, mdbook only renders the last footnote and at least as of v0.4.48 generates the following warnings.

so-called advanced persistent threats[^10][^18][^5]. Once an exploit is installed,
2025-05-05 21:16:52 [WARN] (mdbook::utils): footnote `10` in `<unknown>` is defined but not referenced
2025-05-05 21:16:52 [WARN] (mdbook::utils): footnote `18` in `<unknown>` is defined but not referenced
2025-05-05 21:16:52 [WARN] (mdbook::utils): footnote `10` in `u-root.md` is defined but not referenced
2025-05-05 21:16:52 [WARN] (mdbook::utils): footnote `18` in `u-root.md` is defined but not referenced

Steps

No response

Possible Solution(s)

No response

Notes

No response

Version


@pamolloy pamolloy added the C-bug Category: A bug, incorrect or unintended behavior label May 5, 2025
@ehuss ehuss added the A-footnotes Area: footnotes label May 5, 2025
@ehuss ehuss added this to the 0.5 milestone May 5, 2025
@ehuss
Copy link
Contributor
ehuss commented May 5, 2025

Thanks for the report! Looks like this has been fixed in pulldown-cmark, but we are currently stuck on an older version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-footnotes Area: footnotes C-bug Category: A bug, incorrect or unintended behavior
Projects
None yet
Development

No branches or pull requests

2 participants
0