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

Doesn't parse embeeded lists properly #258

Closed
mmalecki opened this issue Oct 9, 2013 · 5 comments
Closed

Doesn't parse embeeded lists properly #258

mmalecki opened this issue Oct 9, 2013 · 5 comments

Comments

@mmalecki
Copy link

mmalecki commented Oct 9, 2013

1. Next item should be indented
  1. Next item should be indented
    1. Just a list item
    2. Next item should be indented - marked breaks here!
      1. Just a list item
      2. Next item should be indented
        1. Just a list item
        2. Next item should be indented
          1. Just a list item

Output is:

<ol>
<li>Next item should be indented<ol>
<li>Next item should be indented<ol>
<li>Just a list item</li>
<li>Next item should be indented</li>
<li>Just a list item</li>
<li>Next item should be indented<ol>
<li>Just a list item</li>
<li>Next item should be indented<ol>
<li>Just a list item</li>
</ol>
</li>
</ol>
</li>
</ol>
</li>
</ol>
</li>
</ol>

Screenshot:
screenshot

@mmalecki
Copy link
Author

mmalecki commented Oct 9, 2013

This seems to be caused by list outdenting.

@zTrix
Copy link

zTrix commented Feb 14, 2015

Any fix for this issue? I've come across this issue, too.

@hollowdoor
Copy link

I'm having similar problems.

Posted a comment over here #789 about it.

@hollowdoor
Copy link

What about the fix @cbmixx made? Would someone be interested in integrating that fix in the current iteration of marked?

@joshbruce
Copy link
Member

See #982

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants