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

Incorrect result for multi-level lists #275

Closed
vejuhust opened this issue Oct 12, 2017 · 1 comment · Fixed by #463
Closed

Incorrect result for multi-level lists #275

vejuhust opened this issue Oct 12, 2017 · 1 comment · Fixed by #463
Labels

Comments

@vejuhust
Copy link

e.g. Markdown input:

* Item 1
  1. Hello
  2. World
* Item 2
  - Subitem A
  - Subitem B following:
    + What
    + The
    + Code
* Item 3 - yes! just a single item

GitHub's output:

<ul>
    <li>Item 1
        <ol>
            <li>Hello</li>
            <li>World</li>
        </ol>
    </li>
    <li>Item 2
        <ul>
            <li>Subitem A</li>
            <li>Subitem B following:
                <ul>
                    <li>What</li>
                    <li>The</li>
                    <li>Code</li>
                </ul>
            </li>
        </ul>
    </li>
    <li>Item 3 - yes! just a single item</li>
</ul>

markdown2's output:

<ul>
    <li>Item 1
        <ol>
            <li>Hello</li>
            <li>World</li>
        </ol>
    </li>
    <li>Item 2
        <ul>
            <li>Subitem A</li>
            <li>Subitem B following:</li>
            <li>What</li>
            <li>The</li>
            <li>Code</li>
        </ul>
    </li>
    <li>Item 3 - yes! just a single item</li>
</ul>

Can you please fix this?

@nicholasserra
Copy link
Collaborator

Thanks for the report! PRs are welcome on any of these issues :)

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

Successfully merging a pull request may close this issue.

2 participants