CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2022/07/06 08:27:55
Modified files:
regress/usr.bin/mandoc/mdoc/Er: tag.out_html
regress/usr.bin/mandoc/mdoc/Rs: paragraph.out_html
regress/usr.bin/mandoc/mdoc/Sh: paragraph.out_html tag.out_html
regress/usr.bin/mandoc/mdoc/Tg: warn.out_html
regress/usr.bin/mandoc/man/IP: literal.out_html
regress/usr.bin/mandoc/man/SH: paragraph.out_html
regress/usr.bin/mandoc/man/SS: paragraph.out_html
regress/usr.bin/mandoc/man/TP: vert.out_html
usr.bin/mandoc : html.c html.h man_html.c mandoc.css mdoc_html.c
Log message:
While the HTML standard allows multiple <h1> elements in the same
document, <h1> is intended for top level headers, and most of the
sections in a manual page can hardly be considered top-level.
It is more usual to use <h1> only for the main title of the document
of for the site name.
Consequently, move .Sh/.SH from <h1> to <h2> and .Ss/.SS from <h2>
to <h3>, freeing <h1> for use by header.html in man.cgi(8).
Discussed with Anna Vyalkova <cyber at sysrq dot in>.