If this does not classify as a bug (probably status-bydesign anyway), then I would like to present this as a feature-request for convenience when copy-pasting certain URLs.
The [Title](URL)
markdown does not recognize URLs that are missing a scheme/protocol. For example:
[Crittercism](www.crittercism.com/register?codez=ihdqcwduji)
I know RFC 1738 and RFC 3305 would not consider this as a valid URL (due to the lack of a scheme), but it would be nice if the Markdown engine converted this to a hyperlink anyway because of the [Title](URL)
directive.
The logic seems fairly straightforward: If whatever is inside the ( )
does not start with a valid scheme (Here's a full list of Official IANA Uniform Resource Identifier Schemes), then prepend http://
to the text inside ( )
. Or, to cut out most false-positives, prepend only to URLs starting with www
(no scheme).
Example
Without http://
it shows the title, but no clicky linky:
Crittercism - Real Time Crash Reports for iOS & Android Apps!
[Crittercism - ...](www.crittercism.com/register?codez=ihdqcwduji)
With http://
it works as intended:
Crittercism - Real Time Crash Reports for iOS & Android Apps!
[Crittercism - ...](http://www.crittercism.com/register?codez=ihdqcwduji)
http://
—you're almost certainly copy-pasting URLS from address bars/hyperlinks and would always have the correct scheme anyway. No UA that I know of drops thehttp://
when copying a URL.[]
and I figure it would take maybe 5 minutes to implement a fix. Not a huge benefit, but a quick fix so why not ).