|XP is just a number|
pod2html: invalid =item cross-referencesby converter (Priest)
|on Aug 06, 2003 at 03:15 UTC||Need Help??|
converter has asked for the
wisdom of the Perl Monks concerning the following question:
I'm having a bit of a problem with pod2html rendering =item cross-references with invalid target fragment names. The following POD snippets demonstrate the problem:
The input PODs are processed with this shell command:
In Bar.html the A element for the POD =item "foo" is named "item_foo":
Foo.html includes this A element for the cross reference. The target fragment name is "foo", but it seems that it should be "item_foo":
The reference listed after "This hack works" produces the desired output:
perl is version 5.8.0 (Linux).
I know I've probably ventured into "there are better alternatives to Pod::Html" territory, but am I missing or misunderstanding something in the documentation, or is the aforementioned workaround the only way to get valid =item cross-references?