NAME
Pod::Simple::Role::XHTML::RepairLinkEncoding - Repair encoding of section links
SYNOPSIS
package MyPodParser;
with 'Pod::Simple::Role::XHTML::RepairLinkEncoding';
my $parser = MyPodParser->new;
$parser->output_string(\my $html);
$parser->parse_string_document($pod);
DESCRIPTION
Pod::Simple (until at least 3.43) doesn't handle encoding of section links correctly if they contain any characters that need to be entity encoded. It doesn't understand that ids and link fragments need to be encoded differently.
Applying this role will repair this, allowing any id generation routine to be used. It must be applied after any role that modifies the idify
method.
This role should usually not be used directly. A future version of Pod::Simple will fix this, but until then it is used internally by Pod::Simple::Role::XHTML::WithAccurateTargets.
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.