Howdy, The attached patch prevents Markdown from generating invalid HTML if a list is followed immediately by a quote, e.g.,
* foo > bar > baz -- Matt
diff -Nru /tmp/ZHVRVKY7mc/markdown-1.0.2~b8/Markdown.pl /tmp/dDW4tYqXOK/markdown-1.0.2~b8/Markdown.pl --- /tmp/ZHVRVKY7mc/markdown-1.0.2~b8/Markdown.pl 2007-06-12 22:58:14.000000000 -0700 +++ /tmp/dDW4tYqXOK/markdown-1.0.2~b8/Markdown.pl 2007-06-12 22:58:15.000000000 -0700 @@ -858,6 +858,11 @@ ( # $4 \z | + \n + (?= # Lookahead for a blockquote + [ \t]*> + ) + | \n{2,} (?=\S) (?! # Negative lookahead for another list item marker
_______________________________________________ Markdown-Discuss mailing list Markdown-Discuss@six.pairlist.net http://six.pairlist.net/mailman/listinfo/markdown-discuss