[ANN] Markdown.pl 1.0.2b8
29mtuz102 at sneakemail.com
Thu Jun 21 02:45:47 EDT 2007
On 22. May 2007, at 06:32, John Gruber wrote:
> Allan Odgaard <29mtuz102 at sneakemail.com> wrote on 5/10/07 at 1:21 PM:
>> This breaks markup such as:
>> See [left paren](<http://en.wikipedia.org/wiki/(>) and
>> [right paren](<http://en.wikipedia.org/wiki/)>).
>> Previously the first link would work, but not the latter.
> I can't think of a good reason why both of the above examples
> shouldn't work. In other words, if you use `<...>` quoting
> around the URL, you should be able to embed literal parens
> regardless if they're balanced.
> I'll update Markdown.pl accordingly. (Michel's PHP Markdown
> already supports this, I think...)
A sort of related test case is (showing output for 1.0.2b8):
[Foo](bar/<?= $bar ?>) → <p>[Foo](bar/<?= $bar ?>)</p>
[Foo](<bar/<?= $bar ?>>) → <p>[Foo](<bar/<?= $bar ?>>)</p>
Expecting Markdown to handle server-side code gracefully is of course
naive, but in this case I don’t think it requires anything extra to
handle it, and 1.0.1 does handle one of the two examples above
More information about the Markdown-Discuss