From 8e3df7c8b2759d638ad5d2c93ee07c622dd1b193 Mon Sep 17 00:00:00 2001 From: Jari Aalto Date: Sun, 4 Mar 2007 18:05:38 -0800 Subject: [perl #41701] [PATCH] v5.8.8. pod2html -- F should add 'class="file"' in the HTML output From: Jari Aalto (via RT) Message-ID: plus adjustments to tests p4raw-id: //depot/perl@30582 --- lib/Pod/Html.pm | 6 +++--- lib/Pod/t/htmlescp.t | 2 +- lib/Pod/t/htmlview.t | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'lib') diff --git a/lib/Pod/Html.pm b/lib/Pod/Html.pm index 8c999ccab5..f524eff318 100644 --- a/lib/Pod/Html.pm +++ b/lib/Pod/Html.pm @@ -1528,11 +1528,11 @@ sub process_text1($$;$$){ $res = "&$escape;"; } elsif( $func eq 'F' ){ - # F - italizice - $res = '' . process_text1( $lev, $rstr ) . ''; + # F - italicize + $res = '' . process_text1( $lev, $rstr ) . ''; } elsif( $func eq 'I' ){ - # I - italizice + # I - italicize $res = '' . process_text1( $lev, $rstr ) . ''; } elsif( $func eq 'L' ){ diff --git a/lib/Pod/t/htmlescp.t b/lib/Pod/t/htmlescp.t index a17a549cd2..c31d5c21c8 100644 --- a/lib/Pod/t/htmlescp.t +++ b/lib/Pod/t/htmlescp.t @@ -45,7 +45,7 @@ __DATA__

DESCRIPTION

I am a stupid fool who puts naked < & > characters in my POD instead of escaping them as < and >.

-

Here is some bold text, some italic plus /etc/fstab +

Here is some bold text, some italic plus /etc/fstab file and something that looks like an <html> tag. This is some $code($arg1).

diff --git a/lib/Pod/t/htmlview.t b/lib/Pod/t/htmlview.t index 50cbc2ac79..32956419e4 100644 --- a/lib/Pod/t/htmlview.t +++ b/lib/Pod/t/htmlview.t @@ -173,7 +173,7 @@ HTML

SEE ALSO

See also Test Page 2, the the Your::Module manpage and the Their::Module manpage -manpages and the other interesting file /usr/local/my/module/rocks +manpages and the other interesting file /usr/local/my/module/rocks as well.

-- cgit v1.2.1