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

Wolfram Schneider <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
The branch main has been updated by wosch:

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

commit 98b194f8b8e188c0f6caf40f131b855fd2af5cc3
Author:     Wolfram Schneider <[email protected]>
AuthorDate: 2025-11-09 20:02:28 +0000
Commit:     Wolfram Schneider <[email protected]>
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;
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.