Skip to content

Adding a nested list element creates extraneous space (markdown_github to html) #1636

@cjerdonek

Description

@cjerdonek

It seems like there is a glitch in how nested lists are rendered when converting GitHub Markdown to HTML (checked in Pandoc 1.13.1). For example, this renders fine:

* a
* a
* a

But adding a nested list to the last element:

* a
* a
* a
    * a

causes it to be rendered like this--

* a
* a

* a

    * a

The command I used was--

$ pandoc --from=markdown_github --to=html --output=test.html test.md 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions