[Bug] Codeblock in _second_ line

Milian Wolff mail at milianw.de
Mon Oct 29 14:19:21 EDT 2007


Take the following input and both `Markdown.pl` and PHP Markdown will fail:

~~~Input~~~~~~

Codeblock
~~~End~~~~~~~

~~~Expected~~~~
<pre><code>
Codeblock</pre></code>
~~~End~~~~~~~

~~~Actual Result~~
<p>Codeblock</p>
~~~End~~~~~~~~

There is already a testcase in MDTest for codeblocks in the first line, though
the above is still not handled properly!
--
Milian Wolff
http://milianw.de
OpenPGP key: CD1D1393
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : <http://six.pairlist.net/pipermail/markdown-discuss/attachments/20071029/34d2677c/attachment.pgp>


More information about the Markdown-Discuss mailing list