On 7/9/06, Carl-Johan Kihlbom <[EMAIL PROTECTED]> wrote:
I'm guessing it's because you have different indent levels. Try
removing the spaces before 1-9.

I'll second that. In my observation Python is very picky about the
four spaces of indent, while Perl seems to notice any amount of indent
(one space is often enough) even though the syntax[1] tells us we need
four spaces. To see what I mean, try adding a couple more spaces to
1-9 in your example and run it through both to see what you get.

[1]: http://daringfireball.net/projects/markdown/syntax


On 7/7/06, Jacob Rus <[EMAIL PROTECTED]> wrote:
> 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/
>
> _______________________________________________
> Markdown-Discuss mailing list
> [email protected]
> http://six.pairlist.net/mailman/listinfo/markdown-discuss
>
_______________________________________________
Markdown-Discuss mailing list
[email protected]
http://six.pairlist.net/mailman/listinfo/markdown-discuss



--
----
Waylan Limberg
[EMAIL PROTECTED]
_______________________________________________
Markdown-Discuss mailing list
[email protected]
http://six.pairlist.net/mailman/listinfo/markdown-discuss

Reply via email to