Re: Lack of html anchor for =item * foo

[email protected] ("David E. Wheeler")
Newsgroups perl.pod-people
Message-ID <[email protected]>
On Apr 26, 2011, at 9:51 AM, Karl Williamson wrote:

> I discovered that in html output of lists that have elements of the form
> =item * foo
> no <a> anchor is generated for foo; this is different from lists of the form
> =item foo
> 
> The first case generates a <ul> list, and the second a <dl> list.
> The problem is that in the first form, any link in the file to 'foo' is broken, since there is no anchor for it.
> 
> Is this deliberate?  Should it be changed?

I think it is deliberate because

    =item * foo

Is no different from 

    =item *

    foo

That is, it's just a bullet, it has no name associated with it. <dt>s, OTOH, do have a name.

FWIW, Pod::Simple::XHTML doesn't output an ID for <dt>s, either.

Best,

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.