mirror of
https://github.com/xoofx/markdig.git
synced 2026-02-03 21:36:36 +00:00
HtmlBlockType.Comment has incorrect spans #13
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 @madskristensen on GitHub (Jun 19, 2016).
When HtmlBlock.Type == HtmlBlockType.Comment, the span ends at the very end of the MarkdownDocument instead of the comment's closing tag.
Example:
The span length goes from the beginning
<!--to the end of the document