markdown implementation does not recognizes https
Bug #193622 reported by
Tzury Bar Yochay
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Infogami |
New
|
Undecided
|
Unassigned |
Bug Description
the link:
<https:/
while
<http://
you can see it online at: http://
in the section starts with: You can download reSIProcate either from: https:/
To post a comment you must log in.
On Feb 20, 2008 2:58 PM, Tzury Bar Yochay <email address hidden> wrote: /www.resiprocat e.org/files/ pub/reSIProcate /releases/ resiprocate- 1.2.3.tar. gz> is ignored www.resiprocate .org/files/ pub/reSIProcate /releases/ resiprocate- 1.2.3.tar. gz> works crosscompile. org/reSIProcate /www.resiprocat e.org/files/ pub/reSIProcate /releases/ resiprocate- 1.2.3.tar. gz.
> Public bug reported:
>
> the link:
> <https:/
> while
> <http://
>
> you can see it online at: http://
>
> in the section starts with: You can download reSIProcate either from:
> https:/
Looks like it is a bug in markdown.
Can you check, if this bug has been fixed in the latest version of markdown?
Here is the workaround.
Add the following to _register_ mdx_extensions function in infogami/ utils/view. py
index = md.inlinePatter ns.index( markdown. AUTOLINK_ PATTERN) inlinePatterns. insert( index, AutolinkPattern (markdown. AUTOLINK_ RE.replace( 'http', inlinePatterns. insert( index, AutolinkPattern (markdown. AUTOLINK_ RE.replace( 'http', 'ftp')))
md.
markdown.
'https')))
md.
markdown.