The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Pod::Simple::Role::XHTML::WithErrata - Include errata in HTML output

SYNOPSIS

package MyPodParser;
with 'Pod::Simple::Role::XHTML::WithErrata';

my $parser = MyPodParser->new;
$parser->output_string(\my $html);
$parser->parse_string_document($pod);

DESCRIPTION

Adds a section to the end of the generated HTML listing Pod errors.

Example output:

<div class="pod-errors">
  <p>1 POD Error</p>
  <div class="pod-errors-detail">
    <p>The following errors were encountered while parsing the POD:</p>
    <dl>
      <dt>Around line 219:</dt>
      <dd><p>Non-ASCII character seen before =encoding in 'Queensrÿche'. Assuming UTF-8</p></dd>
    </dl>
  </div>
</div>

SUPPORT

See MetaCPAN::Pod::HTML for support and contact information.

AUTHORS

See MetaCPAN::Pod::HTML for authors.

COPYRIGHT AND LICENSE

See MetaCPAN::Pod::HTML for the copyright and license.