Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix lists continuations. #435

Merged
merged 7 commits into from
Feb 10, 2025
Merged

Fix lists continuations. #435

merged 7 commits into from
Feb 10, 2025

Conversation

Mpdreamz
Copy link
Member

@Mpdreamz Mpdreamz commented Feb 6, 2025

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
3 tasks
@bmorelli25
Copy link
Member

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

@Mpdreamz
Copy link
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
5 checks passed
@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