From: Russ Allbery Date: Tue, 25 Mar 1997 09:28:55 +0000 (-0800) Subject: Extraneous blank lines from Pod::Text X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=590feb52ba1fa31a38ae6316de4289419c5c6da0;p=p5sagit%2Fp5-mst-13.2.git Extraneous blank lines from Pod::Text I get the impression that eventually all of the Pod stuff currently distributed with Perl is going to be phased out in favor of something new, but in the meantime pod2text has always generated an extra blank line after literal text (indented text). The following patch to Pod::Text appears to fix that, although I may be missing something since I don't understand why the removed line was ever there to begin with. p5p-msgid: qumend4qq08.fsf@cyclone.stanford.edu --- diff --git a/lib/Pod/Text.pm b/lib/Pod/Text.pm index d40abbc..6906e63 100644 --- a/lib/Pod/Text.pm +++ b/lib/Pod/Text.pm @@ -112,7 +112,6 @@ POD_DIRECTIVE: while () { }me; # Translate verbatim paragraph if (/^\s/) { - $needspace = 1; output($_); next; }