Re: Should Pod::Simple test for repeated elements in a <dl>

[email protected] ("David E. Wheeler") Sat, 26 Jan 2013 10:59:58 -0800
Newsgroups perl.pod-people
Message-ID <[email protected]>
On Jan 26, 2013, at 10:29 AM, Karl Williamson <[email protected]> wrote:

> concerns pod that used hypens for what was meant to be a nested bullet list so that the nested items would not be confused with the outer ones.
> 
> The problem is that the pod code interpreted these as definition lists, with the same definition multiply used. This looks fine when formatted in plain text, but is clearly wrong in html, e.g. http://bit.ly/TD3atM
> 
> I'm thinking that this should be checked for by Pod::Simple.  What do others think?

What if you wanted a definition list where the first character was -? Example:

=pod

=head3 Options

=item -v

Enable verbosity

=item -f

Filename

=item -

Read from STDIN

=back

David