git: 98b194f8b8 - main - local man.cgi CSS overrides websites defaults

From: Wolfram Schneider <wosch_at_FreeBSD.org>
Date: Sun, 09 Nov 2025 20:03:52 UTC
The branch main has been updated by wosch:

URL: https://cgit.FreeBSD.org/doc/commit/?id=98b194f8b8e188c0f6caf40f131b855fd2af5cc3

commit 98b194f8b8e188c0f6caf40f131b855fd2af5cc3
Author:     Wolfram Schneider <wosch@FreeBSD.org>
AuthorDate: 2025-11-09 20:02:28 +0000
Commit:     Wolfram Schneider <wosch@FreeBSD.org>
CommitDate: 2025-11-09 20:02:28 +0000

    local man.cgi CSS overrides websites defaults
---
 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 2bc6f565e7..ae4a369537 100755
--- a/website/content/en/cgi/man.cgi
+++ b/website/content/en/cgi/man.cgi
@@ -1455,7 +1455,7 @@ hr { margin-left: 0em; max-width: 50em; }
       if !cgi_style::HAS_FREEBSD_CGI_STYLE;
 
     ( my $header = &cgi_style::short_html_header( $title, 1 ) ) =~
-      s,<head>,<head>\n$html_meta,s;
+      s,</head>,$html_meta\n</head>,s;
 
     $header =~ s,^Content-type:\s+\S+\s+,,s;
     $header =~ s,<head>,<head>\n<base href="$base" />,s if $base;