git: 961d76a8f3 - main - need more space before title

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=961d76a8f347d83b95a023192d212364390e3bc3

commit 961d76a8f347d83b95a023192d212364390e3bc3
Author:     Wolfram Schneider <[email protected]>
AuthorDate: 2023-09-16 10:34:14 +0000
Commit:     Wolfram Schneider <[email protected]>
CommitDate: 2023-09-16 10:34:14 +0000

    need more space before title
---
 website/content/en/cgi/man.cgi | 16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)

diff --git a/website/content/en/cgi/man.cgi b/website/content/en/cgi/man.cgi
index 0ebb50e847..334621bca0 100755
--- a/website/content/en/cgi/man.cgi
+++ b/website/content/en/cgi/man.cgi
@@ -1365,7 +1365,7 @@ sub apropos {
 
     &http_header("text/html");
     print &html_header("Apropos $title");
-    print "<h1>", $www{'head'}, "</h1>\n\n";
+    print "<br/>\n<h1>$www{'head'}</h1>\n\n";
     &formquery;
 
     local ($mpath) = $manPath{$manpath};
@@ -1469,7 +1469,7 @@ sub man {
     if ( $format eq "html" ) {
         &http_header("text/html");
         print &html_header("$title");
-        print "<h1>", $www{'head'}, "</h1>\n\n";
+        print "<br/>\n<h1>$www{'head'}</h1>\n\n";
         &formquery;
         print "<pre>\n";
     }
@@ -1895,8 +1895,9 @@ sub encode_data {
 
 sub indexpage {
     &http_header("text/html");
-    print &html_header("$www{'title'}") . "<h1><br/>", $www{'head'},
-      "</h1>\n\n"; 
+    print &html_header("$www{'title'}");
+    print "<br/>\n<h1>$www{'head'}</h1>\n\n"; 
+
     # print &intro;
     &formquery;
 
@@ -2066,7 +2067,7 @@ sub faq {
 
     return qq{\
 <pre>
-Copyright (c) 1996-2022 <a href="$mailtoURL">Wolfram Schneider</a>
+Copyright (c) 1996-2023 <a href="$mailtoURL">Wolfram Schneider</a>
 Copyright (c) 1993-1995 Berkeley Software Design, Inc.
 
 This data is part of a licensed program from BERKELEY SOFTWARE
@@ -2169,8 +2170,9 @@ sub faq_output {
     $base = 'https://www.freebsd.org/cgi/';    # XXX
 
     &http_header("text/html");
-    print &html_header( "FreeBSD manual page help", $base ) . "<h1>",
-      $www{'head'}, "</h1>\n" . &faq . qq{<br />\n};
+    print &html_header( "FreeBSD manual page help", $base );
+    print "<br/>\n<h1>$www{'head'}</h1>\n";
+    print &faq . "<br/>\n";
     &html_footer;
 }
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.