[Bug] PHP Markdown (Extra) generates invalid HTML for code blocks

Milian Wolff mail at milianw.de
Sun Sep 2 10:23:36 EDT 2007


PHP Markdown v 1.0.1i and PHP Markdown Extra v 1.1.5 generate invalid HTML for
code blocks

Take this input:

paragraph

codeblock

Markdown will generate:

<p>paragraph</p>

<pre><code>codeblock
</pre></code>

Notice the wrong position of the closing code tag.
--
Milian Wolff
http://milianw.de


More information about the Markdown-Discuss mailing list