Markdown to HTML converter missing list end for two consecutive lists
I am facing issue similar to https://github.com/vsch/flexmark-java/issues/138 while trying to convert md file to HTML. Ordered list is being rendered into first unordered list. Added double blank line to end the list as suggested here, #132, but no luck. My md file data
Body
* Bullet
* Bullet
* Bullet
1. Number
1. Number
2. Number
Output:
<p>Body</p>
<ul>
<li>
<p>Bullet</p>
<ul>
<li>Bullet
<ul>
<li>Bullet</li>
</ul>
</li>
</ul>
</li>
<li>
<p>Number</p>
<ol>
<li>Number</li>
<li>Number</li>
</ol>
</li>
</ul>
Without adding a HTML comment in md file, is there any parsing option that I should try to solve this. Tried different List parsing options from here, https://github.com/vsch/flexmark-java/wiki/Extensions#list-parsing-options. But no luck. Could you please give some advice.
@vsch Could you please help on this
@praneethrreddy, you may need to provide more details, including source code.
Here's a screenshot from my application, which uses flexmark-java:

Please provide the exact input Markdown, including comments, the exact HTML output you'd expect, and the actual HTML output you're seeing. If possible, provide a minimal example that shows the issue.