projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
402f291
)
Pod::Html -- fixes extra gaps in raw text
author
Jeff Pinyan
<japhy@pobox.com>
Wed, 9 May 2001 14:36:25 +0000
(10:36 -0400)
committer
Jarkko Hietaniemi
<jhi@iki.fi>
Wed, 9 May 2001 23:02:56 +0000
(23:02 +0000)
Message-ID: <Pine.GSO.4.21.
0105091430420
.357-100000@crusoe.crusoe.net>
p4raw-id: //depot/perl@10058
lib/Pod/Html.pm
patch
|
blob
|
history
diff --git
a/lib/Pod/Html.pm
b/lib/Pod/Html.pm
index
7a85f5c
..
c5e085b
100644
(file)
--- 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 );
}