summaryrefslogtreecommitdiff
path: root/lib/Pod
diff options
context:
space:
mode:
authorJan Dubois <jand@activestate.com>2006-04-15 17:57:00 -0700
committerSteve Peters <steve@fisharerojo.org>2006-04-16 13:52:47 +0000
commit066b3271193c56784e72a2b9266b6b8e611ec0e6 (patch)
treef25e37953eb36c56392f6d292f263deada021858 /lib/Pod
parentfed01289146a72275f8204f701222c0273a3f01b (diff)
downloadperl-066b3271193c56784e72a2b9266b6b8e611ec0e6.tar.gz
testcase for change #27832
From: "Jan Dubois" <jand@ActiveState.com> Message-ID: <022a01c6612b$575cb7e0$2217a8c0@candy> p4raw-id: //depot/perl@27847
Diffstat (limited to 'lib/Pod')
-rw-r--r--lib/Pod/Html.pm1
-rw-r--r--lib/Pod/t/htmllink.pod6
2 files changed, 5 insertions, 2 deletions
diff --git a/lib/Pod/Html.pm b/lib/Pod/Html.pm
index ba54fd5b9b..6a7d9a6356 100644
--- a/lib/Pod/Html.pm
+++ b/lib/Pod/Html.pm
@@ -1501,6 +1501,7 @@ sub process_text {
return if $Ignore;
my( $tref ) = @_;
my $res = process_text1( 0, $tref );
+ $res =~ s/\s+$//s;
$$tref = $res;
}
diff --git a/lib/Pod/t/htmllink.pod b/lib/Pod/t/htmllink.pod
index 2113db7462..db2f98402b 100644
--- a/lib/Pod/t/htmllink.pod
+++ b/lib/Pod/t/htmllink.pod
@@ -92,15 +92,17 @@ This is section three.
=over 4
-=item item1
+=item item1 X<item> X<one>
This is item one.
=item item 2
+X<item> X<two>
This is item two.
-=item item three
+=item item three X<item>
+X<three>
This is item three.