Re: Should Pod::Simple test for repeated elements in a <dl>
[email protected] (Karl Williamson) Sat, 26 Jan 2013 13:03:00 -0700
| Newsgroups | perl.pod-people |
|---|---|
| Message-ID | <[email protected]> |
On 1/26/2013 11:59 AM, David E. Wheeler wrote: > 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 > > I do not propose warning for something like the above. The warning would only be for repeated uses of the exact same item name, like =item - =item - =item -