While this is probably not what you want to read, you can use CSS to make the difference invisible in the two, something like
ul li p {margin: 0}
A
<style>
ul li p {margin:0}
</style>
<ul>
<li><p>qwe</p>
</li>
<li><p>rty</p>
</li>
</ul>
B
<ul>
<li>qwe</li>
<li>rty</li>
</ul>
of course this may not be very satisfactory but I don’t think fixing the markdown parser is high on the priority list ![]()
(I tend to use this a fair bit but inside a div so that it doesn’t leak elsewhere)
