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

Nested list is rendering as code #1503

Closed
nicotsou opened this issue Jun 24, 2019 · 2 comments · Fixed by #2112
Closed

Nested list is rendering as code #1503

nicotsou opened this issue Jun 24, 2019 · 2 comments · Fixed by #2112
Labels
category: lists L2 - annoying Similar to L1 - broken but there is a known workaround available for the issue

Comments

@nicotsou
Copy link

Describe the bug
I noticed that sometimes the nested lists are rendered as code.

To Reproduce
Steps to reproduce the behavior:

By pasting the following lines in the online editor:


 *  Some very important:  
      
    
    
     *  One;
     *  two;
     *  three

The following result will be displayed:
image

Expected behavior
We should not display nested list items as code:

image

This is the behavior we get in VS Code:

image

@UziTech UziTech added category: lists L2 - annoying Similar to L1 - broken but there is a known workaround available for the issue labels Jun 24, 2019
@UziTech
Copy link
Member

UziTech commented Jun 24, 2019

marked sees the multiple blank lines as the end of a list.

commonmark demo
marked demo

@calculuschild
Copy link
Contributor

This should be fixed by #2112

@styfle styfle linked a pull request Jun 24, 2021 that will close this issue
5 tasks
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.

3 participants