`=item 1. Text` Doesn't Produce Ordered List Item

[email protected] (David E . Wheeler)
Newsgroups perl.pod-people
Message-ID <[email protected]>
This Pod:

    =over

    =item 1 Item 1

    =item 2 Item 2

    =back

Yields this output from Pod::Simple:

    % perldoc -MPod::Simple::XHTML list.pod

    <html>
    <head>
    <title></title>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
    </head>
    <body>


    <h1 id="Title">Title</h1>

    <dl>

    <dt>1 Item 1</dt>
    <dd>

    </dd>
    <dt>2 Item 2</dt>
    <dd>

    </dd>
    </dl>

    </body>
    </html>

A definition list isn't what I would expect. If I use an asterisk instead of numbers (e.g., `=item * some text`), I'd get an unordered list. So why shouldn't `=item 1 some text` give me an ordered list? FWIW, pod2html does.

So should `item 1 some text` be an ordered list item, as suggested output by pod2html, or a definition list as currently implemented by Pod::Simple? I think the former.

Thoughts?

Thanks,

David
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.