Skip to content

Commit

Permalink
include items
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Jan 1, 2019
1 parent f916a5c commit d936abe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/Mojolicious/Plugin/MojoDocs.pm
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ sub _pod_to_html {
my $parser = Pod::Simple::XHTML->new;
$parser->perldoc_url_prefix('https://metacpan.org/pod/');
$parser->$_('') for qw(html_header html_footer);
$parser->anchor_items(1);
$parser->strip_verbatim_indent(\&_indentation);
$parser->output_string(\(my $output));
return $@ unless eval { $parser->parse_string_document("$pod"); 1 };
Expand Down

0 comments on commit d936abe

Please sign in to comment.