Skip to content

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

Merged
ehuss merged 2 commits into
rust-lang:masterfrom
ehuss:footnotes-in-a-row
Aug 19, 2025
Merged

Test and add a fix for multiple footnotes in a row#2807
ehuss merged 2 commits into
rust-lang:masterfrom
ehuss:footnotes-in-a-row

Conversation

@ehuss

@ehuss ehuss commented Aug 19, 2025

Copy link
Copy Markdown
Contributor

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