numbered list bug in markdown.pl?

Jacob Rus jrus at hcs.harvard.edu
Thu Jul 6 23:00:22 EDT 2006


Hi,

I'm getting what I believe to be a bug. If I put the following in markdown:

1. This is a numbered list
2. Blah
9. This is another list item
10. Ok, weird bug here
11. It's really bothering me

And when I run it through markdown.pl 1.01 I get out the following:

<ol>
<li>This is a numbered list</li>
<li>Blah</li>
<li>This is another list item
<ol>
<li>Ok, weird bug here</li>
<li>It's really bothering me</li>
</ol></li>
</ol>

Interestingly, I don't get this from the [python markdown][1], instead
getting one list, as desired.

Anyone know what's up? Or has this already been fixed?

-Jacob

[1]: http://www.freewisdom.org/projects/python-markdown/



More information about the Markdown-Discuss mailing list