mirror of
https://github.com/xoofx/markdig.git
synced 2026-02-03 21:36:36 +00:00
ContainerInline with a ParentBlock has a wrong Span End #621
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @zickb on GitHub (Aug 17, 2023).
There is an issue with the
Inline.Span.Endin case of a container inline with a parent block.Example Input: "a\n"
Expected behavior: The Span.End of the container inline should be 1.
Actual behavior: The Span.End of the container inline is 0.
Workaround (does not work trivially if https://github.com/xoofx/markdig/issues/730 is hit):
Related issue: https://github.com/xoofx/markdig/issues/702