Skip to content

Blank line in multi-line HTML comment confuses pulldown #124

@ehuss

Description

@ehuss

If there is a blank line inside a multi-line HTML comment, pulldown seems to think that the comment has ended and starts interpreting the rest as-if it is Markdown.

Example:

<!--

**foo**
-->

Renders as:

<!--
<p><strong>foo</strong>
--&gt;</p>

Since the comment end is escaped, the rest of the document will not display.

I would expect it to render as:

<!--

**foo**
-->

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions