[libvirt] [PATCH] docs: Make anchors follow HTML5

Michal Privoznik mprivozn at redhat.com
Wed Aug 28 09:54:18 UTC 2019


On 8/28/19 11:48 AM, Daniel P. Berrangé wrote:
> On Wed, Aug 28, 2019 at 10:18:45AM +0200, Michal Privoznik wrote:
>> According to HTML specification, <a name=''> works in HTML4, but
>> <a id=''> works in both HTML4 and HTML5. This is followed even in
>> docs/page.xsl where HTML bookmark links are generated only for
>> those anchors which have @id attribute.
> 
> I'm pretty sure we had tried 'id' in our docs a long time ago
> and hit some problem, but I've not yet found record of what
> it was....
> 
> That change itself looks ok, but I want to try & find the history
> of why we didn't do this before

Fair enough. But even currently we use a mixture of 'name' and 'id' 
(with only the latter working properly for page.xsl).

Michal




More information about the libvir-list mailing list