Possible bug in Markdown.pl with `<<` handling

Michel Fortin michel.fortin at michelf.com
Mon Sep 11 18:39:42 EDT 2006

Le 11 sept. 2006 à 17:00, Fletcher T. Penney a écrit :

> It appears that "double angles" are not properly converted when

> they are not in code blocks, if there is not a space following the

> second `<`.


> For example:


> This is not handled <<properly>>.


> But this <<is>>.


> As is << this>>/.

Your example illustrate the problem quite well, but is it really a
bug? How can Markdown tell <properly> isn't really a tag? What if you
had <<img src="">>? In fact, Markdown treat <properly> as if it was a
tag and leave it alone as it should according to John's syntax
description document.

The question is: should we make an exception for the << construct? It
wouldn't be terribly difficult.

Michel Fortin
michel.fortin at michelf.com

More information about the Markdown-Discuss mailing list