On 12/16/21 10:08, Patrice Dumas wrote:
On Thu, Dec 16, 2021 at 06:33:32PM +0100, Kurt Hornik wrote:
There are two major sources of warnings in my case (using texinfo 6.8):
* The data-manual attribute in the hyperlinks
I remember not being in favor of an attribute that is not defined in
HTML, even if it is acceptable in HTML5. But if it has been added, I am
pretty sure that it is usefull for somebody (maybe Per javascript?).
I know nothing about it - appears to have been added by Gavin:
2020-11-25 Gavin Smith <[email protected]>
data-manual attribute
* tp/Texinfo/Convert/HTML.pm (_convert_xref_commands):
Set data-manual attribute instead of class="texi-manual"
on links to other Texinfo manuals.
I propose to add a customization variable like 'NO_CUSTOM_ATTRIBUTE' to
set to 1 to avoid data-manual and use it too for future custom
attributes.
Why bother? What problem does it solve? It avoids some warnings from
an overly-picky validator. I don't see that as a strong reason to change
anything.
* Tables which do their header and footer inside thead and tfoot, but
not the content inside tbody (which seems valid in XHTML 1.0 but not
in 1.1).
I think that it would make sens to always use tbody.
Again, it's just a warning - but if it's easy to fix, we might as well.
--
--Per Bothner
[email protected] http://per.bothner.com/