]> git.ipfire.org Git - thirdparty/patchwork.git/commit
templatetags: Render links as XHTML links
authorAbdun Nihaal <abdun.nihaal@gmail.com>
Mon, 14 Apr 2025 07:28:33 +0000 (12:58 +0530)
committerStephen Finucane <stephen@that.guru>
Wed, 10 Jun 2026 12:44:57 +0000 (13:44 +0100)
commit1c587ac693a1432e95494f07138951bd7c5abcab
treec47f10cf6057d071e325657ba25dd2eb25003f07
parenta1540caca8590f3735a2fb80342653a347940c9a
templatetags: Render links as XHTML links

Convert links in the commit message and comments, to be rendered as
clickable XHTML links for easy navigation.

Currently only http, https, ftp and git are recognized. And only links
that are not broken across lines are recognized.

Signed-off-by: Abdun Nihaal <abdun.nihaal@gmail.com>
Closes: #591
(cherry picked from commit 980b27097a11c330b78b730d2877c2ea34c6a9e6)
patchwork/templatetags/syntax.py