Skip Menu |

This queue is for tickets about the Markdent CPAN distribution.

Report information
The Basics
Id: 92249
Status: resolved
Priority: 0/
Queue: Markdent

People
Owner: Nobody in particular
Requestors: PJF [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Be more forgiving of link mark-up with spaces?
Markdent pareses `[link text](url)` just fine, but it thinks that `[link text] (url)` is a text chunk followed by an auto-link in paraentheses. At least in github-flavoured-markdown, a space between the link title and the url is considered to be fine. I'm happy to send through a patch (or a pull request on github) to fix this, but I'd love to know if you'd want me to change it for all markdowns, or just GFM. Many thanks for a great module!:D ~ pjf
Subject: Re: [rt.cpan.org #92249] Be more forgiving of link mark-up with spaces?
Date: Fri, 17 Jan 2014 22:31:25 -0600 (CST)
To: PJF via RT <bug-Markdent [...] rt.cpan.org>
From: Dave Rolsky <autarch [...] urth.org>
On Fri, 17 Jan 2014, PJF via RT wrote: Show quoted text
> At least in github-flavoured-markdown, a space between the link title > and the url is considered to be fine. I'm happy to send through a patch > (or a pull request on github) to fix this, but I'd love to know if you'd > want me to change it for all markdowns, or just GFM.
The Markdown spec at http://daringfireball.net/projects/markdown/syntax#link says "[t]o create an inline link, use a set of regular parentheses immediately after the link text’s closing square bracket." I think that "immediately" suggests that space shouldn't be accepted, but I'd happy to accept a patch that adds this to the GFM dialect. Thanks, -dave /*============================================================ http://VegGuide.org http://blog.urth.org Your guide to all that's veg House Absolute(ly Pointless) ============================================================*/