ticket id
000064
status
closed
priority
???
assigned to
NOBODY
Reported by:
Component:

Nested lists do not nest. I've tried:

* Item 1
  * Item A
  * Item B

I get a flat list.

Tried it here too: http://babelmark.bobtfish.net/?markdown=+Item+1%0D%0A+++Item+A%0D%0A++*+Item+B&compare=on&src=4&dest=4

Comments

By Waylan 7/1/10

Actually nested lists work fine when you indent with 4 spaces (I changed the title to better fit the actual situation). I realize that the Perl implementation works with 2 spaces of indent, but the fact is the syntax rules make no mention of any nested lists whatsoever and all other types of blocks require 4 spaces so Python-Markdown is consistent and requires 4 spaces for all types of nests content in lists (at least the first line of each block must be nested 4 spaces).

Unless someone can convince me otherwise, I'm considering this a bug in the perl implementation (and all other implementations that have copied its behavior). This will be marked wontfix in a few days. Please take any discussions on the matter to the mailing list.

Resolution

n.a.

Moved to http://github.com/waylan/Python-Markdown/issues/3

Powered by Sputnik | XHTML 1.1