[PATCH] rendercomment: safer auto-linkification of URLs

Lukas Fleischer lfleischer at archlinux.org
Sun Feb 2 11:10:58 UTC 2020


On Sat, 01 Feb 2020 at 19:07:41, Frédéric Mangano-Tarumi wrote:
> Fixes a few edge cases:
> 
> - URLs within code blocks used to get redundant <> added, breaking bash
>   code snippets like `curl https://...` into `curl <https://...>`.
> 
> - Links written with markdown\u2019s <https://...> syntax also used to get an
>   extra pair of brackets.
> ---
>  aurweb/scripts/rendercomment.py | 19 +++++++++++--------
>  test/t2600-rendercomment.sh     | 15 +++++++++++++--
>  2 files changed, 24 insertions(+), 10 deletions(-)

Great! Merged into pu, thanks!


More information about the aur-dev mailing list