Date: Sat, 16 Sep 2023 10:34:21 GMT From: Wolfram Schneider <wosch@FreeBSD.org> To: doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org Subject: git: 961d76a8f3 - main - need more space before title Message-ID: <202309161034.38GAYLFj032449@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by wosch: URL: https://cgit.FreeBSD.org/doc/commit/?id=961d76a8f347d83b95a023192d212364390e3bc3 commit 961d76a8f347d83b95a023192d212364390e3bc3 Author: Wolfram Schneider <wosch@FreeBSD.org> AuthorDate: 2023-09-16 10:34:14 +0000 Commit: Wolfram Schneider <wosch@FreeBSD.org> 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; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202309161034.38GAYLFj032449>