Skip to content

Fix lists continuations. - #435

Merged
Mpdreamz merged 7 commits into
mainfrom
fix/list-continuations
Feb 10, 2025
Merged

Mpdreamz merged 7 commits into
mainfrom
fix/list-continuations

Conversation

@Mpdreamz

@Mpdreamz Mpdreamz commented Feb 6, 2025 •

Copy link
Copy Markdown
Member

List continuations that have blank lines are considered loose. As per commonmark spec these should render as paragraphs.

EnableTrackTrivia() was breaking this behaviour.

Validated we don't need triva for error message highlighting.

Closes #347

List continuations that have blank lines are considered loose. As per commonmark spec these should render as paragraphs.

`EnableTrackTrivia()` was breaking this behaviour.

Validated we don't need triva for error message highlighting.
@Mpdreamz Mpdreamz added the fix label Feb 6, 2025
@Mpdreamz
Mpdreamz requested a review from reakaleek February 6, 2025 11:36
@Mpdreamz Mpdreamz linked an issue Feb 6, 2025 that may be closed by this pull request
1 of 3 tasks
@bmorelli25

Copy link
Copy Markdown
Member

Dumb question: is this also related to the <p> issue in definition lists? See: #405 (comment)

@Mpdreamz

Copy link
Copy Markdown
Member Author

Dumb question: is this also related to the

issue in definition lists? See: #405 (comment)

That's so not dumb I am stuck wondering if your self deprecation is genuine 😸 Good catch! yes this will fix #405 too. Added a test to confirm.

@Mpdreamz
Mpdreamz merged commit 689c4e5 into main Feb 10, 2025
@Mpdreamz
Mpdreamz deleted the fix/list-continuations branch February 10, 2025 12:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Paragraphs nested under bullets don't get line breaks Evaluate if .EnabeTrackTrivia is necessary

3 participants