[PATCH] rendercomment: respectful linkification of Git commits

Lukas Fleischer lfleischer at archlinux.org
Thu Jan 30 12:07:36 UTC 2020


On Thu, 30 Jan 2020 at 12:57:00, Lukas Fleischer wrote:
> From: Frédéric Mangano-Tarumi <fmang at mg0.fr>
> 
> Turn the git-commits markdown processor into an inline processor, which
> is smart enough not to convert Git hashes contained in code blocks or
> links.
> 
> Signed-off-by: Lukas Fleischer <lfleischer at archlinux.org>
> ---
>  aurweb/scripts/rendercomment.py | 36 ++++++++++++++++++---------------
>  1 file changed, 20 insertions(+), 16 deletions(-)

This was accidentally resubmitted to the list while working on some
other patches; sorry for that. I queued the patch in pu with some minor
changes (removed some UTF-8 characters from comments).

Still looking forward to test suite additions.


More information about the aur-dev mailing list