From: Russ Allbery Date: Thu, 8 May 1997 18:36:12 +0000 (-0700) Subject: Another blank line patch to Pod::Text X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=c0e1ccf0a4885cd7426ea5414ca3ce958817877e;p=p5sagit%2Fp5-mst-13.2.git Another blank line patch to Pod::Text If an =over/=back block ends just before a =head1 tag, there is an extraneous blank line before the heading. This patch fixes that and doesn't appear to have any negative effects. The blank line after the last =item should be provided by the =item's paragraph break. p5p-msgid: m3afm5g6ar.fsf@windlord.Stanford.EDU --- diff --git a/lib/Pod/Text.pm b/lib/Pod/Text.pm index bc3ccd6..f723bb3 100644 --- a/lib/Pod/Text.pm +++ b/lib/Pod/Text.pm @@ -259,7 +259,6 @@ sub prepare_for_output { elsif ($Cmd eq 'back') { $indent = pop(@indent); warn "Unmatched =back\n" unless defined $indent; - $needspace = 1; } elsif ($Cmd eq 'item') { makespace();