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.)