summaryrefslogtreecommitdiff
path: root/cpan/Pod-Simple
diff options
context:
space:
mode:
authorSteve Hay <SteveHay@planit.com>2009-10-10 12:47:30 +0100
committerSteve Hay <SteveHay@planit.com>2009-10-11 03:12:14 +0100
commitac185ebf4c9d4029f84d842ad19bcac6f814ae7b (patch)
treecaf2cf5fb3b78f2187392df9387c3841cf021da4 /cpan/Pod-Simple
parent9c7c0c6c6ad48b65d44d21b9ea192039ce57942c (diff)
downloadperl-ac185ebf4c9d4029f84d842ad19bcac6f814ae7b.tar.gz
Upgrade to Pod-Simple-3.08
Diffstat (limited to 'cpan/Pod-Simple')
-rw-r--r--cpan/Pod-Simple/ChangeLog9
-rw-r--r--cpan/Pod-Simple/lib/Pod/Simple.pm2
-rw-r--r--cpan/Pod-Simple/lib/Pod/Simple/XHTML.pm4
3 files changed, 12 insertions, 3 deletions
diff --git a/cpan/Pod-Simple/ChangeLog b/cpan/Pod-Simple/ChangeLog
index 8c1e1d7b92..4ab15b2216 100644
--- a/cpan/Pod-Simple/ChangeLog
+++ b/cpan/Pod-Simple/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for Pod::Simple dist
#---------------------------------------------------------------------------
+2009-07-16 Allison Randal <allison@perl.org>
+ * Release 3.08
+
+ Fix installdirs for Perl versions where Pod::Simple was core;
+ RT#36446 & RT#39709, thanks to Jerry Hedden.
+
+ Fix encoding handling for code in paragraphs; RT#45829, thanks
+ to David Wheeler.
+
2008-06-04 Allison Randal <allison@perl.org>
* Release 3.07
diff --git a/cpan/Pod-Simple/lib/Pod/Simple.pm b/cpan/Pod-Simple/lib/Pod/Simple.pm
index 1e325724a5..1089099d0d 100644
--- a/cpan/Pod-Simple/lib/Pod/Simple.pm
+++ b/cpan/Pod-Simple/lib/Pod/Simple.pm
@@ -18,7 +18,7 @@ use vars qw(
);
@ISA = ('Pod::Simple::BlackBox');
-$VERSION = '3.07';
+$VERSION = '3.08';
@Known_formatting_codes = qw(I B C L E F S X Z);
%Known_formatting_codes = map(($_=>1), @Known_formatting_codes);
diff --git a/cpan/Pod-Simple/lib/Pod/Simple/XHTML.pm b/cpan/Pod-Simple/lib/Pod/Simple/XHTML.pm
index d130faaa96..e7832e6aea 100644
--- a/cpan/Pod-Simple/lib/Pod/Simple/XHTML.pm
+++ b/cpan/Pod-Simple/lib/Pod/Simple/XHTML.pm
@@ -328,8 +328,8 @@ sub end_Document {
sub start_B { $_[0]{'scratch'} .= '<b>' }
sub end_B { $_[0]{'scratch'} .= '</b>' }
-sub start_C { $_[0]{'scratch'} .= '<code>' }
-sub end_C { $_[0]{'scratch'} .= '</code>' }
+sub start_C { $_[0]{'scratch'} .= '<code>'; $_[0]{'in_verbatim'} = 1; }
+sub end_C { $_[0]{'scratch'} .= '</code>'; $_[0]{'in_verbatim'} = 0; }
sub start_E { $_[0]{'scratch'} .= '&' }
sub end_E { $_[0]{'scratch'} .= ';' }