Pandoc describes its behavior clearly here in the section "Compact and loose lists"
However the conversion of
# Test
- Item 1
- Item 2
- Subitem 1
- Subitem 2
results in
<h1 id="test">Test</h1>
<ul>
<li><p>Item 1</p></li>
<li><p>Item 2</p>
<ul>
<li>Subitem 1</li>
<li>Subitem 2</li>
</ul></li>
</ul>
My understanding is that the output should be
<h1 id="test">Test</h1>
<ul>
<li><p>Item 1</p></li>
<li>Item 2
<ul>
<li>Subitem 1</li>
<li>Subitem 2</li>
</ul></li>
</ul>
I'm using pandoc 2.10.1. Any thoughts?