summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuss Allbery <rra@stanford.edu>1997-05-08 11:36:12 -0700
committerChip Salzenberg <chip@atlantic.net>1997-05-08 00:00:00 +1200
commitc0e1ccf0a4885cd7426ea5414ca3ce958817877e (patch)
treea13556e6b89b386cdc7a312c93241c2e15357192
parentb393317684507c7bb347175a34396f91fb09d38c (diff)
downloadperl-c0e1ccf0a4885cd7426ea5414ca3ce958817877e.tar.gz
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
-rw-r--r--lib/Pod/Text.pm1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/Pod/Text.pm b/lib/Pod/Text.pm
index bc3ccd6824..f723bb3500 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();