getting test added to the standard test suite.

Kailoa Kadano 5sxnauv02 at sneakemail.com
Wed Aug 30 22:35:37 EDT 2006



On Aug 31, 2006, at 11:22 AM, John Gruber gruber-at-fedora.net |
markdown mailing list| wrote:


> Kailoa Kadano <5sxnauv02 at sneakemail.com> wrote on 8/31/06 at 11:03 AM:

>

>> It is weird, but I agree that it is correct. Judging from your

>> reaction, the result seems to be serendipitous with respect to

>> Markdown.pl. Unfortunately, not all implementations seem to match...

>

> What result does the Python version give?

>

> -J.G.


(cleaned up spacing for legibility)
markdown.py:
<p>
this is a <a href="http://example.com/">**test**</a>
this is a second <em></em><a href="http://example.com">test</
a><strong>
reference </strong><a href="http://example.com/">test</a><em></em>
reference <a href="http://example.com/">**test**</a>
</p>

Markdown.pl:
<p>
this is a <a href="http://example.com/"><strong>test</strong></a>
this is a second <strong><a href="http://example.com">test</a></
strong>
reference <strong><a href="http://example.com/">test</a></strong>
reference <a href="http://example.com/"><strong>test</strong></a>
</p>

markdown.py is clearly confused by the nested tags.

Kailoa


More information about the Markdown-Discuss mailing list