In perl.git, the branch blead has been updated <http://perl5.git.perl.org/perl.git/commitdiff/642ef7c1b91288be96b948fea0661bf371c74551?hp=cd7e6c884f038d4463b1c4768533b484e5c5c919>
- Log ----------------------------------------------------------------- commit 642ef7c1b91288be96b948fea0661bf371c74551 Author: Ricardo Signes <[email protected]> Date: Thu Apr 26 21:39:33 2012 -0400 disable codes_in_verbatim for Pod::Html ...otherwise all our verbatim blocks will change radically! ----------------------------------------------------------------------- Summary of changes: ext/Pod-Html/lib/Pod/Html.pm | 1 + ext/Pod-Html/t/htmldir1.pod | 2 ++ ext/Pod-Html/t/htmldir1.t | 2 ++ 3 files changed, 5 insertions(+), 0 deletions(-) diff --git a/ext/Pod-Html/lib/Pod/Html.pm b/ext/Pod-Html/lib/Pod/Html.pm index 9838ea4..08d0274 100644 --- a/ext/Pod-Html/lib/Pod/Html.pm +++ b/ext/Pod-Html/lib/Pod/Html.pm @@ -343,6 +343,7 @@ sub pod2html { # set options for the parser my $parser = Pod::Simple::XHTML::LocalPodLinks->new(); + $parser->codes_in_verbatim(0); $parser->anchor_items(1); # the old Pod::Html always did $parser->backlink($Backlink); # linkify =head1 directives $parser->htmldir($Htmldir); diff --git a/ext/Pod-Html/t/htmldir1.pod b/ext/Pod-Html/t/htmldir1.pod index e505caa..84fe565 100644 --- a/ext/Pod-Html/t/htmldir1.pod +++ b/ext/Pod-Html/t/htmldir1.pod @@ -4,6 +4,8 @@ htmldir - Test --htmldir feature =head1 LINKS + Verbatim B<means> verbatim. + Normal text, a L<link> to nowhere, a link to L<var-copy>, diff --git a/ext/Pod-Html/t/htmldir1.t b/ext/Pod-Html/t/htmldir1.t index a8c367a..881e3d6 100644 --- a/ext/Pod-Html/t/htmldir1.t +++ b/ext/Pod-Html/t/htmldir1.t @@ -70,6 +70,8 @@ __DATA__ <h1 id="LINKS">LINKS</h1> +<pre><code> Verbatim B<means> verbatim.</code></pre> + <p>Normal text, a <a>link</a> to nowhere,</p> <p>a link to <a href="/[RELCURRENTWORKINGDIRECTORY]/testdir/test.lib/var-copy.html">var-copy</a>,</p> -- Perl5 Master Repository
