From c1c1046eb88a69d9f559370b1d521af13b115110 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Wed, 6 Jul 2022 14:34:59 +0000 Subject: While the HTML standard allows multiple

elements in the same document,

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

only for the main title of the document of for the site name. Consequently, move .Sh/.SH from

to

and .Ss/.SS from

to

, freeing

for use by header.html in man.cgi(8). Discussed with Anna Vyalkova . --- regress/mdoc/Er/tag.out_html | 2 +- regress/mdoc/Rs/paragraph.out_html | 4 ++-- regress/mdoc/Sh/paragraph.out_html | 4 ++-- regress/mdoc/Sh/tag.out_html | 14 +++++++------- regress/mdoc/Tg/warn.out_html | 4 ++-- 5 files changed, 14 insertions(+), 14 deletions(-) (limited to 'regress/mdoc') diff --git a/regress/mdoc/Er/tag.out_html b/regress/mdoc/Er/tag.out_html index 80daa28b..081ca1ea 100644 --- a/regress/mdoc/Er/tag.out_html +++ b/regress/mdoc/Er/tag.out_html @@ -5,7 +5,7 @@
-

+

[]
text
diff --git a/regress/mdoc/Rs/paragraph.out_html b/regress/mdoc/Rs/paragraph.out_html index bfb0a724..0a4fc8a3 100644 --- a/regress/mdoc/Rs/paragraph.out_html +++ b/regress/mdoc/Rs/paragraph.out_html @@ -5,8 +5,8 @@ author, another book.

-

+

initial reference:

author name, book title.

diff --git a/regress/mdoc/Sh/paragraph.out_html b/regress/mdoc/Sh/paragraph.out_html index 82ede5be..7dc93653 100644 --- a/regress/mdoc/Sh/paragraph.out_html +++ b/regress/mdoc/Sh/paragraph.out_html @@ -1,9 +1,9 @@

descriptive text

-

+

initial subsection text

subsection paragraph

-

+

diff --git a/regress/mdoc/Sh/tag.out_html b/regress/mdoc/Sh/tag.out_html index 0dd39398..94332652 100644 --- a/regress/mdoc/Sh/tag.out_html +++ b/regress/mdoc/Sh/tag.out_html @@ -2,26 +2,26 @@
-

+

Text in duplicate description section.

-

+

Text introducing examples.

-

+

Example text.

-

+

More example text.

-

+

Text in weird section.

-

 

+

 

Text in section with empty header.

diff --git a/regress/mdoc/Tg/warn.out_html b/regress/mdoc/Tg/warn.out_html index a7f92574..cd542ba9 100644 --- a/regress/mdoc/Tg/warn.out_html +++ b/regress/mdoc/Tg/warn.out_html @@ -2,10 +2,10 @@ too many badstart badend whitespace

-

+

subtext

-

+

example text

-- cgit