Markdown generates invalid html for a list immediately followed by a quote

John Gruber gruber at fedora.net
Sat Jul 7 11:12:03 EDT 2007


Michel Fortin <michel.fortin at michelf.com> wrote on 5/23/07 at 10:01 AM:


> <ul>

> <li>foo

> > bar

> > baz</li>

> </ul>

>

> It also happens to be PHP Markdown's output. bar and baz are taken

> as part of the list item since the following lines do not need to be

> indented, and since the list item does not contain any blank line

> the content gets treated as a span-level, hence no blockquote.


That's what I'm thinking the output should be. I think there should be
an official rule that all block-level constructs must be separated by
a blank line.

-J.G.



More information about the Markdown-Discuss mailing list