ba05e1ea02
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.
32 lines
308 B
Markdown
32 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"]]]]]
|
|
```
|