Skip to content

Test and add a fix for multiple footnotes in a row #2807

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

Merged
merged 2 commits into from
Aug 19, 2025

Conversation

ehuss
Copy link
Contributor

@ehuss ehuss commented Aug 19, 2025

This adds a test for multiple footnotes in a row, which was broken in a previous version of pulldown-cmark.

This also fixes a rendering issue where the footnotes had no space separating them. It does this by adding a space character when it detects multiple footnote events in a row.

Closes #2687

ehuss added 2 commits August 18, 2025 16:38
These were previously broken in older versions of pulldown-cmark.
This fixes it so that consecutive footnotes have a little space between
them so they aren't jammed together.
@rustbot rustbot added the S-waiting-on-review Status: waiting on a review label Aug 19, 2025
@ehuss ehuss enabled auto-merge August 19, 2025 00:13
@ehuss ehuss added this pull request to the merge queue Aug 19, 2025
Merged via the queue into rust-lang:master with commit 988ed9b Aug 19, 2025
14 checks passed
@rustbot rustbot removed the S-waiting-on-review Status: waiting on a review label Aug 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Multiple footnotes in a row are not rendered correctly
2 participants