Hi folks,
Enclosed is another patch for HTML5. This one is designed to *add*
HTML5. So it creates an extra shim. Subsequent patches would then
remove the existing functionality. I think this is a good step: first
we add it, then we can start to decrease the complexity. It consists of
the following:
- a single
- removed summary, align, and width attributes from header/footer
- remove
from header/footer
- add a shim *before* the to provide a default
layout of the header/footer (instead of the hard-coded crap)
(The shim would work with HTML4 as well, but eh.)
With this patch, both -Thtml and -Txhtml will produce HTML5. This can
be disabled in html.c by replacing the HTML_HTML5 allocation with the
respective type. The resulting HTML5 validates just fine, as do the
existing modes (if replaced in html.c).
I've also added an initial patch for man.cgi to be HTML5. Easy, no?
The tags will also need to be lowercased, but that's purely mechanical.
Thoughts?
Best,
Kristaps