Outaspace has asked for the wisdom of the Perl Monks concerning the following question:

Hail all wise monks,

I have expirenced a problem with converting POD to Html with the POD::Html modul. Some Header are taggged as "code" and some don't.
Example:
=head1 AUTOLOAD() Autoload function if called method isn't found. =head1 AddChild(content[, notmodified]) Adds another content to the end of the childlist =cut


The first Header will be tagged as code and the second not.

The question is now, is there a way to tell the Html converter that all Header should look the same (with <code> or without, but all the same)
Regards,

Andre

Replies are listed 'Best First'.
Re: POD to Html: Header are different
by Anonymous Monk on Aug 25, 2006 at 13:03 UTC
    Besides overriding via css how <code> is displayed, there is no way with Pod::Html.

    Pod::Html should not guess if those headers are supposed to be code, since code comes in C<>

Re: POD to Html: Header are different
by geoffleach (Scribe) on Oct 21, 2006 at 23:38 UTC
    Pod::HtmlEasy provides such a capability. The included script handles both the same way: see script/podhtmleasy.pl in the dist.

    There's a new version [shameless plug ]
    https://pause.perl.org/pub/PAUSE/authors/id/G/GL/GLEACH/Pod-HtmlEasy-0.08_01.tar.gz