From: Jari Aalto Date: Mon, 5 Mar 2007 02:05:38 +0000 (-0800) Subject: [perl #41701] [PATCH] v5.8.8. pod2html -- F should add 'class="file"' in... X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=8e3df7c8b2759d638ad5d2c93ee07c622dd1b193;p=p5sagit%2Fp5-mst-13.2.git [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 --- diff --git a/lib/Pod/Html.pm b/lib/Pod/Html.pm index 8c999cc..f524eff 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 a17a549..c31d5c2 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 50cbc2a..3295641 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.