git: 11a9442a5d - main - link to HTTPS URLs as well
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 05 Feb 2022 09:24:46 UTC
The branch main has been updated by wosch: URL: https://cgit.FreeBSD.org/doc/commit/?id=11a9442a5d3ea07378ae303c02f6c9019a060e66 commit 11a9442a5d3ea07378ae303c02f6c9019a060e66 Author: Wolfram Schneider <wosch@FreeBSD.org> AuthorDate: 2022-02-05 09:24:29 +0000 Commit: Wolfram Schneider <wosch@FreeBSD.org> CommitDate: 2022-02-05 09:24:29 +0000 link to HTTPS URLs as well --- website/content/en/cgi/man.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/content/en/cgi/man.cgi b/website/content/en/cgi/man.cgi index 9f5c57cffc..0818d076ee 100755 --- a/website/content/en/cgi/man.cgi +++ b/website/content/en/cgi/man.cgi @@ -1626,7 +1626,7 @@ s/([a-z0-9_\-\.]+\@[a-z0-9\-\.]+\.[a-z]+)/<a href="mailto:$1">$1<\/A>/gi; # detect URLs in manpages if (m%tp://%) { - s,((ftp|http)://[^\s<>\)]+),<a href="$1">$1</a>,gi; + s,((ftp|http|https)://[^\s<>\)]+),<a href="$1">$1</a>,gi; } if (s%^(<b>.*?</b>)+\n?$% ($str = $1) =~ s,(<b>|</b>),,g; $str%ge) {