Consecutive markdown lists are joined to one list
Summary
When two lists in markdown are separated by an empty line, they are joined into one list rather than being rendered as two lists.
Steps to reproduce
- first list, first item
- first list, second item
- first list, third item
- second list, first item
- second list, second item
- second list, third item
Expected behavior
- first list, first item
- first list, second item
- first list, third item
- second list, first item
- second list, second item
- second list, third item
<ul dir="auto">
<li>first list, first item</li>
<li>first list, second item</li>
<li>first list, third item</li>
</ul>
<ul dir="auto">
<li>second list, first item</li>
<li>second list, second item</li>
<li>second list, third item</li>
</ul>
Actual behavior
-
first list, first item
-
first list, second item
-
first list, third item
-
second list, first item
-
second list, second item
-
second list, third item
<ul dir="auto">
<li>first list, first item</li>
<li>first list, second item</li>
<li><p>first list, third item</p></li>
<li><p>second list, first item</p></li>
<li><p>second list, second item</p></li>
<li><p>second list, third item</p></li>
</ul>
(the <p>
s don't seem to belong there neither)