Closed jarrodbell closed 11 years ago
Whilst this is indeed an oddity, if you're aiming for nested lists this markup isn't the way to do it. Since this issue is two years old (oops, sorry!) I'm closing it.
If you'd still like this looked at, please provide a cutdown test case and provide the resulting markup you'd expect. You should also check what other markdown parsers do.
The following markdown results in the last items of the lists having a stray
<p>
tag created:Resulting HTML:
Notice how each last item of a list is the only one that has the
<p>
.