Pod::Simple::Role::XHTML::RepairLinkEncoding - Repair encoding of section links
package MyPodParser; with 'Pod::Simple::Role::XHTML::RepairLinkEncoding'; my $parser = MyPodParser->new; $parser->output_string(\my $html); $parser->parse_string_document($pod);
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.
idify
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.
See MetaCPAN::Pod::XHTML for support and contact information.
See MetaCPAN::Pod::XHTML for authors.
See MetaCPAN::Pod::XHTML for the copyright and license.
To install MetaCPAN::Pod::XHTML, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MetaCPAN::Pod::XHTML
CPAN shell
perl -MCPAN -e shell install MetaCPAN::Pod::XHTML
For more information on module installation, please visit the detailed CPAN module installation guide.