Skip to content

Use an explicit node for tight paragraphs#1015

Merged
Martin1887 merged 1 commit intopulldown-cmark:masterfrom
notriddle:tight-paragraph
Feb 11, 2025
Merged

Use an explicit node for tight paragraphs#1015
Martin1887 merged 1 commit intopulldown-cmark:masterfrom
notriddle:tight-paragraph

Conversation

@notriddle
Copy link
Collaborator

This cleans up a lot of hacks, because our tree didn't quite match the way commonmark actually works, and we need to avoid letting a block appear as a child of an inline.

It also fixes a bug in HTML parsing that could only be hit with tight lists.

Fixes #1002

This cleans up a lot of hacks, because our tree didn't quite
match the way commonmark actually works, and we need to avoid
letting a block appear as a child of an inline.

It also fixes a bug in HTML parsing that could only be hit with
tight lists.
@Martin1887 Martin1887 merged commit c59ff54 into pulldown-cmark:master Feb 11, 2025
6 checks passed
@Martin1887
Copy link
Collaborator

Thanks!

@notriddle notriddle deleted the tight-paragraph branch February 11, 2025 15:28
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.

> counts as both the start of a blockquote and the end of inline HTML?

2 participants