mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-02 05:35:38 +00:00
For example, a `p` after a closed `li` will be incorporated into the previous `li`. This mirrors what browsers do with this invalid HTML. Closes #9809.
15 lines
230 B
Markdown
15 lines
230 B
Markdown
```
|
|
% pandoc -f html -t native
|
|
<ul>
|
|
<li>Bullet point.</li>
|
|
<p>Nested line.</p>
|
|
</ul>
|
|
^D
|
|
[ BulletList
|
|
[ [ Para [ Str "Bullet" , Space , Str "point." ]
|
|
, Para [ Str "Nested" , Space , Str "line." ]
|
|
]
|
|
]
|
|
]
|
|
```
|