From: Waylan L. <wa...@gm...> - 2009-06-17 16:08:37
|
Hey Mikeal, thanks for the report. On Wed, Jun 17, 2009 at 8:21 AM, Mikael Garde Nielsen<mg...@ze...> wrote: [snip] > It does however render > differently than what I would expect, so the test still fails. What did your expect? As it turns out, every impelmentation appears to render the same. See: http://babelmark.bobtfish.net/?markdown=*+one%0D%0A*++++four%0D%0A*+++++five Or did you mean that you expected that output, but got something different? After running this: >>> markdown.markdown('* one\n* five') I assume that is what you mean. > > It's real easy to spawn the IndexError exception. Just run: > >>>> import markdown >>>> markdown.markdown("* five spaces") Yeah, that's a problem. I'll look into that when I get a chance. For anyone who are interested, I've created a ticket (#35) which addresses this and all it's variants here: http://www.freewisdom.org/projects/python-markdown/Tickets/000035 -- ---- \X/ /-\ `/ |_ /-\ |\| Waylan Limberg |