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

Már Örlygsson mar.nospam at anomy.net
Thu Jul 12 08:26:42 EDT 2007


Michel Fortin wrote:

> Would that work with right-aligned numbers? I think not.


I think it would.

If we use John's example:


> > - level 1

> > - level 2

> > - level 2

> > - level 3

> > - level 1


and convert it into an ordered list with right-aligned numbers, we get:


> > 9. level 1

> > 9. level 2

> > 10. level 2

> > 1. level 3

> > 10. level 1


Which looks about right. The rule...


> an outdented list item belongs to the most recent list item

> that's indented less.


...sounds like it could work.

--
Már


More information about the Markdown-Discuss mailing list