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

A. Pagaltzis pagaltzis at gmx.de
Mon Jul 9 16:26:59 EDT 2007


* John Gruber <gruber at fedora.net> [2007-07-09 21:55]:

> But if you do this:

>

> --

> * One

> * sub-one with something that looks like

> a paragraph

>

> * sub-two with something that looks like

> a paragraph

>

> * Two

> * Three

> --

>

> or this:

>

> --

> * One

> * sub-one

> * sub-two

>

> * Two

>

> * Three

> --

>

> then *all* of the list items will be paragraph mode.


Ack, please no. The latter should definitely put only the outer
list in paragraph mode. Whether the former should put the outer
list in paragraph mode or not is debatable and I think I could go
either way. But tight inner lists should never go into paragraph
mode just because the outer list has.

Regards,
--
Aristotle Pagaltzis // <http://plasmasturm.org/>


More information about the Markdown-Discuss mailing list