Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pod::Simple::XHTML does heavy filtering of the link targets it generates. This results in many targets being nearly useless for external use. Change the targets generated to use less filtering, but also generate additional targets, one with the first word and one with the old target like Pod::Simple::XHTML creates. This is especially useful for pages like perlvar and perlfunc. Many of the targets in perlvar consist entirely of characters that are filtered by Pod::Simple::XHTML. The targets would therefore look like 'pod5'. With this change, the unfiltered targets will be available, so linking to variables will work properly. The first word target is useful for perlfunc or any other page that includes parameters function listings. This will allow links like L<perlfunc/open> to work as people expect. The Pod::Simple::XHTML style target is maintained for compatibility with existing links on the web.
- Loading branch information
Showing
2 changed files
with
105 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters