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

Content between list item is wrapped inside item. #1750

Closed
07akioni opened this issue Aug 19, 2020 · 1 comment
Closed

Content between list item is wrapped inside item. #1750

07akioni opened this issue Aug 19, 2020 · 1 comment
Labels
category: lists L2 - annoying Similar to L1 - broken but there is a known workaround available for the issue

Comments

@07akioni
Copy link

07akioni commented Aug 19, 2020

Describe the bug
A clear and concise description of what the bug is.

- 1
# 2
- 3

will generate

<ul>
<li>1<h1 id="2">2</h1>
</li>
<li>3</li>
</ul>

To Reproduce
Steps to reproduce the behavior:

  1. Marked Demo
  2. CommonMark Demo

It seems to be a very old bug since version 0.7.0.

Expected behavior
A clear and concise description of what you expected to happen.

<ul>
<li>1</li>
<h1 id="2">2</h1>
<li>3</li>
</ul>
@UziTech
Copy link
Member

UziTech commented Aug 19, 2020

duplicate of #1047

The work around is to put a new line after the list. demo

@UziTech UziTech closed this as completed Aug 19, 2020
@UziTech UziTech added category: lists L2 - annoying Similar to L1 - broken but there is a known workaround available for the issue labels Aug 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: lists L2 - annoying Similar to L1 - broken but there is a known workaround available for the issue
Projects
None yet
Development

No branches or pull requests

2 participants