[PR #760] Fix source span calculation for LineBreakInline #1216

Open
opened 2026-01-29 14:51:30 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/xoofx/markdig/pull/760

State: closed
Merged: Yes


Fix the source span calculation of the last LineBreakInline in paragraph when multiple blocks exists.

I have added the source span calculation for the last LineBreakInline in https://github.com/xoofx/markdig/pull/733, but the logic does not handle multiple blocks correctly. This corrects the logic.

**Original Pull Request:** https://github.com/xoofx/markdig/pull/760 **State:** closed **Merged:** Yes --- Fix the source span calculation of the last `LineBreakInline` in paragraph when multiple blocks exists. I have added the source span calculation for the last `LineBreakInline` in https://github.com/xoofx/markdig/pull/733, but the logic does not handle multiple blocks correctly. This corrects the logic.
claunia added the pull-request label 2026-01-29 14:51:30 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/markdig#1216