Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unfinished HTML blocks started in a container can eat some contents #149

Closed
mity opened this issue Feb 5, 2021 · 0 comments
Closed

Unfinished HTML blocks started in a container can eat some contents #149

mity opened this issue Feb 5, 2021 · 0 comments
Labels

Comments

@mity
Copy link
Owner

mity commented Feb 5, 2021

(Originated in this discussion: https://talk.commonmark.org/t/list-block-and-html-block-interaction-help/3777)

Input:

- <script>
- foo
bar
</script>

Expected output:

<ul>
<li><script>
</li>
<li>foo
bar
</script></li>
</ul>

Actual output:

<ul>
<li><script>
</li>
</ul>
<p>bar
</script></p>

(the line with "foo" disappears)

@mity mity added the bug label Feb 5, 2021
@mity mity closed this as completed in fd7b5fe Feb 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant