Roundup Tracker - Issues

Message7006

Author ced
Recipients ced, cmeerw, rouilj
Date 2020-10-28.08:27:02
Message-id <20201028082641.GP3060@kei>
In-reply-to <1603854851.62.0.0491076809278.issue2551096@roundup.psfhosted.org> <20201028002554.F07924C0769@itserver6.cs.umb.edu>
On 2020-10-28 03:14, John Rouillard wrote:
> Cedric, silly question how are you calling markdown in your template?

Just like the jinja2 template:

msg.content.markdown()

> According to the code it should be hyperlinking bare url's:
> 
>       def markdown(self, hyperlink=1):
>         """ Render the value of the property as markdown.
> 
>             This requires markdown2 or markdown to be installed
>             separately.
>         """
>  
> Are you setting hyperlink to 0?

No. But I checked the code and indeed the markdown method does not do
anything with the url or email matching.
Here is a patch that implement this behavior for markdown.
Files
File name Uploaded
roundup-markdown-url.patch ced, 2020-10-28.08:27:02
History
Date User Action Args
2020-10-28 08:27:03cedsetrecipients: + ced, rouilj, cmeerw
2020-10-28 08:27:03cedlinkissue2551096 messages
2020-10-28 08:27:02cedcreate