From: Alan H. <co...@al...> - 2011-06-06 18:54:09
|
My apologies. The error seems to be arising because the sanitizer I’m using is stripping quotes, which would be perfectly valid, except for that then jQuery mis-parses the output. More info here: http://bugs.jquery.com/ticket/9530 Alan On Monday, June 6, 2011 at 10:33 AM, Waylan Limberg wrote: > On Mon, Jun 6, 2011 at 1:13 PM, Alan Hogan <co...@al... (mailto:co...@al...)> wrote: > > I noticed today that Python-Markdown doesn’t transform angle-bracket syntax > > links when they link to pages on the Wayback machine (probably because they > > have a URL within a URL). > > This appears to be working fine for me. Which version are you using? > Do you perhaps have safe_mode enabled? > > >>> markdown.markdown('<http://web.archive.org/web/20100304221756/h > ttp://www.yahoo.com (http://www.yahoo.com)/>') > u'<p><a href="http://web.archive.org/web/20100304221756/http://www.yah > oo.com/">http://web.archive.org/web/20100304221756/http://www.yahoo.c > om/</a></p>' > > -- > ---- > \X/ /-\ `/ |_ /-\ |\| > Waylan Limberg |