Hello Everyone, Can someone spot the error in the following snippet of link text? It doesn't work through php-markdown in wordpress and I just wanted to know if there's something obvious I'm missing. Thanks in advance! can come of us. "Every good and perfect gift comes from above" ([James 1:17](http://www.biblegateway.com/passage/?search=James%201:17;&version=47; "@Bible Gateway")) is one way that I might choose to prove this. In other words, in a very real sense, works of theology and doctrine and works of -- In Christ, Timmy V. http://burningones.com/ http://five.sentenc.es/ - Spend less time on e-mail
In article <c115fd3c0904281418p7446b618x35e7c4c9c8ef3689 at mail.gmail.com>, Tim Visher <markdown-discuss at six.pairlist.net> wrote:>Hello Everyone, > >Can someone spot the error in the following snippet of link text?> can come of us. "Every good and perfect gift comes from above" ([James > 1:17](http://www.biblegateway.com/passage/?search=James%201:17;&version=47; > "@Bible Gateway"))What does php markdown translate this text to? -david parsons
I just checked on http://babelmark.bobtfish.net/ and it appears that some implementations (PHP included) do not work when the link is broken across multiple lines. However, if the link is all on one line, it's not a problem. I realize that makes for a long line, but use reference links instead of inline and you won't have that issue. Besides, it's easier to read. That said, this probably is a bug in PHP markdown as many (most) implementations do recognize the link even though it's broken across multiple lines. On Tue, Apr 28, 2009 at 5:18 PM, Tim Visher <tim.visher at gmail.com> wrote:> Hello Everyone, > > Can someone spot the error in the following snippet of link text? ?It > doesn't work through php-markdown in wordpress and I just wanted to > know if there's something obvious I'm missing. > > Thanks in advance! > > ? ?can come of us. ?"Every good and perfect gift comes from above" ([James > ? ?1:17](http://www.biblegateway.com/passage/?search=James%201:17;&version=47; > ? ?"@Bible Gateway")) is one way that I might choose to prove this. ?In other > ? ?words, in a very real sense, works of theology and doctrine and works of > > -- > > In Christ, > > Timmy V. > > http://burningones.com/ > http://five.sentenc.es/ - Spend less time on e-mail > _______________________________________________ > Markdown-Discuss mailing list > Markdown-Discuss at six.pairlist.net > http://six.pairlist.net/mailman/listinfo/markdown-discuss >-- ---- \X/ /-\ `/ |_ /-\ |\| Waylan Limberg
Le 2009-04-28 ? 17:18, Tim Visher a ?crit :> Hello Everyone, > > Can someone spot the error in the following snippet of link text? It > doesn't work through php-markdown in wordpress and I just wanted to > know if there's something obvious I'm missing. > > Thanks in advance! > > can come of us. "Every good and perfect gift comes from > above" ([James > 1:17](http://www.biblegateway.com/passage/?search=James%201:17;&version=47 > ; > "@Bible Gateway")) is one way that I might choose to prove this. > In other > words, in a very real sense, works of theology and doctrine and > works ofIt seems that PHP Markdown doesn't like a line break between the URL and the title in the link above. It does that for images too. Line 689 of PHP Markdown: change [ ]* for [ \n]* That should fix it (not tested yet though). I'll fix that for the next release, whenever that may be. -- Michel Fortin michel.fortin at michelf.com http://michelf.com/