Handling nested =open directives

[email protected] (Marc Green)
Newsgroups perl.pod-people
Message-ID <[email protected]>
Hello Pod People,

Given the following erroneous POD, should the formatter interpret the bold
line as the start of a text paragraph and indent it (and therefore each line
afterwards would also be treated as a text paragraph), or should the
formatter keep the bold line at the same indent level as the prior
italicized line, and treat the "=item *" as a bulleted list instead of a
text paragraph?

I believe that it should treat it as the former because the bold line is
after the nested =open, but the test case for htmlview.pod disagrees -- it
treats it as the latter.

Thank you,
Marc

From ext/Pod-Html/t/htmlview.pod:

> =over 4
>
> =item foo
>
> The foo item.
>
> =item bar
>
> *The bar item.*
>
> =over 4
>
> *This is a list within a list *
>
> =item *
>
> The wiz item.
>
> =item *
>
> The waz item.
>
> =back
>
> =item baz
>
> The baz item.
>
> =back
>
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.