|
From: alec r. <al...@sp...> - 2009-04-02 02:33:25
|
Oh wow; awesome! Thanks for the update--sorry I didn't find out that this was already known and fixed, earlier. Thanks for your time. Looking forward to Monday, a. On Wed, Apr 1, 2009 at 10:30 PM, Waylan Limberg <wa...@gm...> wrote: > Hi Alec. Thanks for the report. I'm assuming your using > Python-Markdown 1.7. However, this bug has already been fixed and will > be available in the next release (2.0) which will most likely be > available on Monday. Yes, this coming Monday, April 6. If I have the > time, it might even come on Sunday night. Watch this list for the > announcement or at http://twitter.com/WaylanL > > For the record, I broke your example down into the simplest broken test case: > > - A list item [with]() > [hanging]() indent. > > See here for a comparison: > > http://babelmark.bobtfish.net/?markdown=-+A+list+item+[with]()%0D%0A++[hanging]()+indent. > > The key to problem is that the hard line break only occurs when the > first line ends with a link *and* the second line begins with one. > Actually, most any inline markup will do it (italics, bold, etc). > Given how inline patterns used to work, this makes sense (sort of). > However, in 2.0 that code has been completely refactored and works > very differently. We've eliminated a lot (hopefully all) of these edge > cases. > > On Wed, Apr 1, 2009 at 7:41 PM, alec resnick <al...@sp...> wrote: >> Hi! I recently ran into this problem while using the >> django.contrib.markup addon, and it turns out that the issue (I think) >> is with Python Markdown. >> >> With the original text of: >> """ >> - *bench space* :: Our [space](http://sproutward.org/greenhouse) and >> [equipment]() are available for use by individuals and groups. If >> you or your friends (or your research partners or your classmates or >> your children) want to figure out a way to make a project of yours >> happen at sprout--[let's see how we can make it >> happen](mailto:sp...@sp...). >> """ >> python markdown inserts a line break after the first and, instead of >> where the line break would make sense, in this case. Dingus >> (http://daringfireball.net/projects/markdown/dingus) does not have >> this issue. Refer to the bug listing at django ( >> http://code.djangoproject.com/ticket/10685 ) for details, or let me >> know if I should refile a separate bug report through this mailing >> list. >> >> Thanks! >> >> -a. >> >> ------------------------------------------------------------------------------ >> _______________________________________________ >> Python-markdown-discuss mailing list >> Pyt...@li... >> https://lists.sourceforge.net/lists/listinfo/python-markdown-discuss >> > > > > -- > ---- > \X/ /-\ `/ |_ /-\ |\| > Waylan Limberg > |