From: Waylan L. <wa...@gm...> - 2011-05-31 14:28:16
|
On Tue, May 31, 2011 at 5:13 AM, Alan Hogan <ala...@gm...> wrote: > If you have a bulleted list followed by a numbered list, or vice-versa, this > library converts all the following list elements to the first element's > type. Even when there is a blank line between lists. Correct, a blank line does not start a new list but indicates that the contents of the list items should be wrapped in <p> tags. Therefore blanks lines will never start a new list. Regarding the change of list type, as you note, Gruber's implementation ignores that as well. As he created Markdown he gets to decide how that is implemented. Until his implementation is updated, Python-Markdown will continue to support the current behavior. Btw, this issue has been debated to no end on the markdown mailing list. But the result is always the same. Of course, using our extension API [1], you could build your own list parser which would replace the default and have whatever behavior you want. We just won't include that in our default implementation. [1]: http://www.freewisdom.org/projects/python-markdown/Writing_Extensions -- ---- \X/ /-\ `/ |_ /-\ |\| Waylan Limberg |