From: Jeff Pinyan Date: Wed, 9 May 2001 14:36:25 +0000 (-0400) Subject: Pod::Html -- fixes extra gaps in raw text X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=4135c0a0e71788fb84c0608a84dab7d6d320b6e8;p=p5sagit%2Fp5-mst-13.2.git Pod::Html -- fixes extra gaps in raw text Message-ID: p4raw-id: //depot/perl@10058 --- diff --git a/lib/Pod/Html.pm b/lib/Pod/Html.pm index 7a85f5c..c5e085b 100644 --- a/lib/Pod/Html.pm +++ b/lib/Pod/Html.pm @@ -313,7 +313,7 @@ sub clean_data($){ ${$dataref}[$i] =~ s/\s+\Z//; # have a look for all-space lines - if( ${$dataref}[$i] =~ /^\s+$/m ){ + if( ${$dataref}[$i] =~ /^\s+$/m and $dataref->[$i] !~ /^\s/ ){ my @chunks = split( /^\s+$/m, ${$dataref}[$i] ); splice( @$dataref, $i, 1, @chunks ); }