pandoc/test/command/4281.md
John MacFarlane ac08a887cf Markdown reader: Fix parsing bug with nested fenced divs.
Closes #4281.

Previously we allowed "nonindent spaces" before the
opening and closing `:::`, but this interfered with
list parsing, so now we require the fences to be
flush with the margin of the containing block.
2018-01-20 14:44:08 -08:00

18 lines
221 B
Markdown

```
% pandoc -t native
:::: {.a}
- ::: {.b}
text
:::
::: {.c}
text
:::
::::
^D
[Div ("",["a"],[])
[BulletList
[[Div ("",["b"],[])
[Para [Str "text"]]
,Div ("",["c"],[])
[Para [Str "text"]]]]]]
```