Open skeets23 opened 4 years ago
I have just notices this recently, but if you go to the demo site: https://parsedown.org/demo
at create and render a list like so:
- something
- something
- something else
That you will get:
<ul>
<li>something</li>
<li><p>something</p></li>
<li>something else</li>
</ul>
renders as:
... which is great. However:
renders as:
<p>
tags. So depending on style sheets, the bullet list can look completely different after you add a second<ul>
, because for some reason, that adds<p>
tags to all<li>
tags.<p>
tags, while causing unexpected behavior, could be acceptable if they were applied to allli
elements, because at least they would all look the same.... but indented<li>
elements do not change.... so by result, you end up with top levelli
elements withp
tags inside them, and second levelli
elements without thep
tag, giving a very inconsistent feel (notice the "c" is not wrapped in ap
tag, while all the rest of the text was).