Skip to content

List Block and HTML Block interaction issue: not handling Type-7 HTML at end properly #213

Description

@jackdewinter

Given the following Markdown:

- <script>
- some text
some other text
</script>

this implementation returns:

<ul>
<li>
<script>
</li>
<li>some text
some other text</li>
</ul>
</script>

Based on my reading of the script, documented here, the last three lines should be:

some other text
</script></li>
</ul>

As the </script> tag on line 4 is not a valid HTML Block start (type 7 cannot break paragraphs), it should be considered as normal text, only to be further realized as Raw HTML when processing the inline.

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      Sponsor
      SponsoredKunjungi sekarang
      Promo