mirror of
https://github.com/jgm/pandoc.git
synced 2026-10-04 05:07:46 +00:00
This improves on the original fix to #5285 by preventing other mixed lists (lists with a mix of Plain and Para elements) that were allowed given the original fix.
33 lines
308 B
Markdown
33 lines
308 B
Markdown
```
|
|
% pandoc -t native
|
|
- a
|
|
|
|
b
|
|
- a
|
|
|
|
- b
|
|
^D
|
|
[BulletList
|
|
[[Para [Str "a"]
|
|
,Para [Str "b"]]
|
|
,[Para [Str "a"]]
|
|
,[Para [Str "b"]]]]
|
|
```
|
|
|
|
```
|
|
% pandoc -t native
|
|
- foo
|
|
|
|
foo
|
|
- foo
|
|
|
|
> foo
|
|
^D
|
|
[BulletList
|
|
[[Para [Str "foo"]
|
|
,Para [Str "foo"]]
|
|
,[Para [Str "foo"]
|
|
,BlockQuote
|
|
[Para [Str "foo"]]]]]
|
|
```
|