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

a unordered list glitch #2685

Closed
LuckyStar04 opened this issue Dec 16, 2022 · 0 comments · Fixed by #2686
Closed

a unordered list glitch #2685

LuckyStar04 opened this issue Dec 16, 2022 · 0 comments · Fixed by #2686
Labels
category: lists L2 - annoying Similar to L1 - broken but there is a known workaround available for the issue

Comments

@LuckyStar04
Copy link

Marked version: 4.2.3

Describe the bug

- #### test title
test paragraphs
- #### test title
test paragraphs
- #### test title
test paragraphs

To Reproduce

this is what i get from marked.js:

<ul>
<li><h4 id="test-title">test title</h4>
test paragraphs</li>
<li><h4 id="test-title-1">test title</h4>
test paragraphs</li>
<li><h4 id="test-title-2">test title</h4>
test paragraphs</li>
</ul>

Expected behavior

this is what i get from github markdown editor:

<ul>
<li><h4>test title</h4>
</li>
</ul>
<p>test paragraphs</p>
<ul>
<li><h4>test title</h4>
</li>
</ul>
<p>test paragraphs</p>
<ul>
<li><h4>test title</h4>
</li>
</ul>
<p>test paragraphs</p>
@UziTech UziTech added L2 - annoying Similar to L1 - broken but there is a known workaround available for the issue category: lists labels Dec 16, 2022
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

Successfully merging a pull request may close this issue.

2 participants