Skip to content

Conversation

@notriddle
Copy link
Collaborator

Fixes #760

This change brings pulldown-cmark into alignment with markdown-it and hugo/goldmark. It's close to GitHub, but GitHub doesn't parse the backslashes as hard line breaks.

It's odd that link reference definitions are allowed to have line breaks and footnote definitions aren't, but it's not worth it to be gratuitously different.

@notriddle notriddle changed the title Do not accept footnote definitions with blank lines Do not accept footnote definitions with line breaks Oct 30, 2023
@notriddle notriddle force-pushed the notriddle/footnote-with-empty branch 2 times, most recently from 692db16 to b0ba377 Compare October 31, 2023 01:57
@notriddle notriddle force-pushed the notriddle/footnote-with-empty branch from b0ba377 to 736592c Compare October 31, 2023 02:02
@Martin1887
Copy link
Collaborator

Thanks!

@Martin1887 Martin1887 merged commit ee3b423 into pulldown-cmark:master Oct 31, 2023
@notriddle notriddle deleted the notriddle/footnote-with-empty branch October 31, 2023 20:03
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.

[fuzz result]: footnote definitions are allowed to contain line breaks

2 participants