Skip to content

HtmlBlockType.Comment has incorrect spans #12

Closed

Description

@madskristensen

When HtmlBlock.Type == HtmlBlockType.Comment, the span ends at the very end of the MarkdownDocument instead of the comment's closing tag.

Example:

<!-- this is great --> 
**hello**

The span length goes from the beginning <!-- to the end of the document

Activity

  1. madskristensen commented on Jun 19, 2016

    @madskristensen
    Author

    Actually, it appears to happen when the comment block isn't on the first line of the document, but somewhere in the middle

  2. xoofx commented on Jun 19, 2016

    @xoofx
    Owner

    Fixed by commit be9c6fa.
    0.5.4 on the way

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions