8000 mediawiki: loss of level 1 unordered list following level 2 list · Issue #1213 · jgm/pandoc · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
mediawiki: loss of level 1 unordered list following level 2 list #1213
Closed
@jberkenbilt

Description

@jberkenbilt

This is with pandoc 1.12.3.3.

When a first-level unordered list follows a second-level unordered list that is not itself part of a first-order list, the first-level list is lost. Observe:

pandoc -f mediawiki -t native <<EOF
** a
* b
EOF

produces this output:

[BulletList
 [[BulletList
   [[Plain [Str "a"]]]]]]

The second list with the item "b" is lost. Okay, clearly the input is not great, but I've run into this type of list in converting our docs in constructs like

* item
<pre>Some example</pre>
** note about example
* another item

The *another item piece of this gets lost.

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

      0