From 98b25764245b03db6b70601cb9096f4b69582e27 Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Fri, 2 May 2003 18:21:22 +0000 Subject: [PATCH] Avoid extraneous blank line generated in the middle of the document head. --- Doc/perl/l2hinit.perl | 31 +++++++++++++++---------------- 1 file changed, 15 insertions(+), 16 deletions(-) diff --git a/Doc/perl/l2hinit.perl b/Doc/perl/l2hinit.perl index 6bf86f859c..8213740da5 100644 --- a/Doc/perl/l2hinit.perl +++ b/Doc/perl/l2hinit.perl @@ -614,26 +614,25 @@ sub make_head_and_body($$) { $STYLESHEET = $FILE.".css" unless $STYLESHEET; $MY_PARTIAL_HEADER = join('', ($DOCTYPE ? $DTDcomment : ''), - "\n\n", - ($BASE ? "\n" : ''), - "\n", + "\n", + ($BASE ? "\n" : ''), + "\n", ($FAVORITES_ICON - ? ('\n") + ? ("\n") : ''), ($EXTERNAL_UP_LINK - ? ('\n") + ? ("\n" : "'>")) : ''), - "\n", + '>', ($HAVE_TABLE_OF_CONTENTS - ? ('' - . ($HAVE_GENERAL_INDEX ? "\n" : '')) + ? "\n" : ''), ($HAVE_GENERAL_INDEX - ? '' . "\n" + ? "\n" : ''), # disable for now -- Mozilla doesn't do well with multiple indexes # ($HAVE_MODULE_INDEX @@ -645,10 +644,10 @@ sub make_head_and_body($$) { # page always gets copied to about.html, even when we use the # generated node###.html page names. Won't work with the # rest of the Python doc tools. - ? ("\n" - . "\n") + ? ("\n" + . "\n") : ''), $more_links_mark, "\n", -- 2.50.1