Skip Menu |

This queue is for tickets about the PodToHTML CPAN distribution.

Report information
The Basics
Id: 11133
Status: resolved
Priority: 0/
Queue: PodToHTML

People
Owner: Nobody in particular
Requestors: tima [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.05
Fixed in: (no value)



Subject: ol/ul list items are not being recognized
I'm using PodToHTML-0.05 on Perl 5.8.1/Mac OS X and have found that the processor only recognizes a list item if it has some type of inline formatting in it. Take the following sample POD: =head1 NAME test - foo =over =item * Foo =item * Bar =item * Baz =item * Fred =back =over =item 1 Foo =item 1 Bar =item 1 Baz =item 1 Fred =back =over =item * This is C<foo> =item * See also Bar =back =cut When run through podtohtml produces this HTML (edited to only include relavent parts): <dl><dt><a name="_Foo_"><strong><p>* Foo </strong></a><br><strong>* Bar </strong><br><strong>* Baz </strong><br><strong>* Fred </strong><dl><dt><a name="1_Foo_"><strong><p>1 Foo </strong></a><br><strong>2 Bar </strong><br><strong>3 Baz </strong><br><strong>4 Fred </strong><dl><li>This is <code>foo</code> <dt><a name="_See_also_Bar_"><strong><p>* See also Bar Running this through pod2html produces what I would expect -- ul/ol list items rather then a definition list with breaks throughout. What is odd is that I found items with one or more inline formatting tags do get recognized and wrapped with <li> tags. (See the last block.)
There will be no further development on this module. If you need to convert Pod to HTML, use Pod::Simple instead.