Skip to content

Require a separator before multiline reference titles - #480

Open
AryanRG wants to merge 1 commit into
executablebooks:masterfrom
AryanRG:fix/multiline-reference-title-separator
Open

AryanRG wants to merge 1 commit into
executablebooks:masterfrom
AryanRG:fix/multiline-reference-title-separator

Conversation

@AryanRG

@AryanRG AryanRG commented Nov 18, 2026

Copy link
Copy Markdown
Contributor

Closes #479.

A multiline reference title immediately after a link destination is accepted without the required separator. This consumes the paragraph as a definition and changes the parsed reference and source map.

Remember the title’s initial offset before scanning continuation lines, so the existing rollback also applies to multiline titles.

The full suite passed 1,191 tests on each of Python 3.10 and 3.14. Pre-commit passed, and 5,769 comparisons matched markdown-it 15.0.3, and 518 downstream plugin tests passed.

This branch has not been deployed

No deployments
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.

Multiline link reference titles are accepted without a separator

1 participant