Really? From what I see it only html-escapes the characters, which is a step in the right direction, but not a solution. The following patch ought to do it (even though depod ain't perfect)
--- G:\perls\5.8.2\lib\pod\html.pm 2003-11-06 02:10:38.796875000 +-0800 +++ C:\perl\lib\pod\html.pm 2004-01-07 00:18:19.984375000 -0800 @@ -400,8 +400,10 @@ for (my $i = 0; $i < @poddata; $i++) { if ($poddata[$i] =~ /^=head1\s*NAME\b/m) { for my $para ( @poddata[$i, $i+1] ) { - last TITLE_SEARCH - if ($Title) = $para =~ /(\S+\s+-+.*\S)/s; + if( ($Title) = $para =~ /(\S+\s+-+.*\S)/s +){ + $Title = depod($Title);# PodMaster + last TITLE_SEARCH; + } } } @@ -411,7 +413,11 @@ if (!$Title and $Podfile =~ /\.pod\z/) { # probably a split pod so take first =head[12] as title for (my $i = 0; $i < @poddata; $i++) { - last if ($Title) = $poddata[$i] =~ /^=head[12]\s*(.*)/; + if( ($Title) = $poddata[$i] =~ /^=head[12]\s*(.*)/ ){ + $Title = depod($Title);# PodMaster + last; + } + } warn "adopted '$Title' as title for $Podfile\n" if $Verbose and $Title;
Here's a patch against perl-current
--- html.pm 2003-12-12 16:29:00.000000000 -0800 +++ newHtml.pm 2004-01-07 00:31:04.453125000 -0800 @@ -415,8 +415,9 @@ for (my $i = 0; $i < @poddata; $i++) { if ($poddata[$i] =~ /^=head1\s*NAME\b/m) { for my $para ( @poddata[$i, $i+1] ) { - last TITLE_SEARCH - if ($Title) = $para =~ /(\S+\s+-+.*\S)/s; + if( ($Title) = $para =~ /(\S+\s+-+.*\S)/s ){ + $Title = depod($Title);# PodMaster + last TITLE_SEARCH; } } @@ -426,7 +427,10 @@ if (!$Title and $Podfile =~ /\.pod\z/) { # probably a split pod so take first =head[12] as title for (my $i = 0; $i < @poddata; $i++) { - last if ($Title) = $poddata[$i] =~ /^=head[12]\s*(.*)/; + if( ($Title) = $poddata[$i] =~ /^=head[12]\s*(.*)/ ){ + $Title = depod($Title);# PodMaster + last; + } } warn "adopted '$Title' as title for $Podfile\n" if $Verbose and $Title;

MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
** The third rule of perl club is a statement of fact: pod is sexy.


In reply to Re: Re: pod2html includes markup (like B< >) in TITLE by PodMaster
in thread pod2html includes markup (like B< >) in TITLE by ff

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.