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::XHTML for support and contact information.

AUTHORS

See MetaCPAN::Pod::XHTML for authors.

COPYRIGHT AND LICENSE

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