Files
pandoc/test/command/11534.md
John MacFarlane ef6b669e25 Markdown reader: Fix bug with lists_without_preceding_blankline.
This was not properly implemented, causing some unintended
results. Closes #11534.
2026-03-17 19:37:08 +01:00

43 lines
633 B
Markdown

```
% pandoc -f markdown+lists_without_preceding_blankline+alerts -t native
:::: caution
::: title
Caution
:::
Foo bar, wuppie fluppie!
::::
^D
[ Div
( "" , [ "caution" ] , [] )
[ Div ( "" , [ "title" ] , [] ) [ Para [ Str "Caution" ] ]
, Para
[ Str "Foo"
, Space
, Str "bar,"
, Space
, Str "wuppie"
, Space
, Str "fluppie!"
]
]
]
```
```
% pandoc -f markdown+lists_without_preceding_blankline -t native
hello
- a
- b
c
^D
[ Para [ Str "hello" ]
, BulletList
[ [ Plain [ Str "a" ] ]
, [ Plain [ Str "b" , SoftBreak , Str "c" ] ]
]
]
```