karlb / smu

Simple MarkUp - markdown/commonmark like syntax
http://karlb.github.io/smu/
MIT License
55 stars 5 forks source link

Lists should interrupt paragraphs #1

Closed karlb closed 2 years ago

karlb commented 4 years ago

HTML does not allow lists in paragraphs, so

foo:
- bar

should result in

<p>foo:</p>
<ul>
<li>bar</li>
</ul>

not

<p>foo:
<ul>
<li>bar</li>
</ul>
</p>

as it does now.