waylan/Python-Markdown — Issue #68: python-markdown doesn't render any text after certain html elements
Author: startling
Created: 2011-12-27 23:32:09+00:00
State: open

Using python-markdown, anything after certain html elements will not render. The following example,

`````

_italics_

__bold__
`````

gets rendered as

`````

_italics_

__bold__
`````

without appropriately rendering the bold or italics into html. The Markdown reference implementation, `markdown.pl`, renders it as

````

italics

bold

````

so I'm guessing it's a bug, not a feature. Note that this only happens when markdown text directly follows elements without an end tag. The following renders fine:

````
html bold
_hello_

__bold__
`````
but this one doesn't:

`````

_hello_

__bold__
`````

This can be worked around by putting a blank line immediately after the html element. So, this one renders as expected:

`````

_hello_

__bold__
`````

This is different from [issue #57](https://github.com/waylan/Python-Markdown/issues/57), which appears to have been solved.