I have encountered differences between python markdown and markedjs, when i switched from client-side to server-side rendering.
Consider the following markdown:
**bold text**
* list item 1
* list item 2
* list item 3
markedjs would gracefully create an unorder list html list from that:
<p>
<strong>bold text</strong>
</p>
<ul>
<li>item 1</li>
<li>item 2</li>
<li>item 3</li>
</ul>
while python-markdown creates:
<p>
<strong>bold text</strong>
<em> item1</em> item2
* item3
</p>
The problem here seems to be that python-markdown (following markdown.pl) wont accept the missing empty line and pulls the first list item into consideration with the bold tags...
Is there any way to configure python markdown to handle that case gracefully i.e. in a way a user would not be surprised by a weird html output?
Thanks in advance!