git: ca416e30f6 - main - ports.cgi: fix HTML errors
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 29 Sep 2026 09:31:34 UTC
The branch main has been updated by wosch:
URL: https://cgit.FreeBSD.org/doc/commit/?id=ca416e30f643ced180ca73c90d9b9617ae72094c
commit ca416e30f643ced180ca73c90d9b9617ae72094c
Author: Wolfram Schneider <wosch@FreeBSD.org>
AuthorDate: 2026-09-29 09:31:29 +0000
Commit: Wolfram Schneider <wosch@FreeBSD.org>
CommitDate: 2026-09-29 09:31:29 +0000
ports.cgi: fix HTML errors
---
website/content/en/cgi/ports.cgi | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/website/content/en/cgi/ports.cgi b/website/content/en/cgi/ports.cgi
index e6819f8f44..3543516356 100755
--- a/website/content/en/cgi/ports.cgi
+++ b/website/content/en/cgi/ports.cgi
@@ -382,7 +382,7 @@ sub out {
$descfile =~ s%^$remotePrefixFtp%$remotePrefixRepo/plain%o;
print
- qq{<dt><b><a name="$version"></a><a href="$t">$version</a></b></dt>\n};
+ qq{<dt><b><a name="$version" href="$t">$version</a></b></dt>\n};
print qq{<dd>}, &escapeHTML($comment), qq{<br />\n};
print qq[<a href="$descfile?revision=HEAD">Description</a>\n];
@@ -424,7 +424,7 @@ sub out {
print ", " if $flag;
$flag++;
- print qq{<a href="$script_name?query=^$_&stype=name">$_</a>};
+ print qq{<a href="$script_name?query=%5E$_&stype=name">$_</a>};
}
print "</div>\n";
}