aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/regress/mdoc/Sh/tag.out_html
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2020-04-01 20:21:08 +0000
committerIngo Schwarze <schwarze@openbsd.org>2020-04-01 20:21:08 +0000
commitbc6d8c884c63e49aafa7894399d3d7060108b4ec (patch)
tree221c86f83f95f27ccb490ae5bc0a9b4811809d0b /regress/mdoc/Sh/tag.out_html
parente5d39b82294bd2fb1536527e0f27b2902943f299 (diff)
downloadmandoc-bc6d8c884c63e49aafa7894399d3d7060108b4ec.tar.gz
mandoc-bc6d8c884c63e49aafa7894399d3d7060108b4ec.tar.zst
mandoc-bc6d8c884c63e49aafa7894399d3d7060108b4ec.zip
Just like we are already doing it in HTML output, automatically tag
section and subsection headers in terminal output, too. Even though admittedly, commands like "/SEE" and "/ Subsec" work, too, there is no downside, and besides, with the recent improvements in the tagging framework, implementation cost is negligible.
Diffstat (limited to 'regress/mdoc/Sh/tag.out_html')
-rw-r--r--regress/mdoc/Sh/tag.out_html14
1 files changed, 14 insertions, 0 deletions
diff --git a/regress/mdoc/Sh/tag.out_html b/regress/mdoc/Sh/tag.out_html
index 9722aa8c..49c45fdb 100644
--- a/regress/mdoc/Sh/tag.out_html
+++ b/regress/mdoc/Sh/tag.out_html
@@ -2,8 +2,22 @@
</section>
</section>
<section class="Sh">
+<h1 class="Sh" id="DESCRIPTION_2"><a class="permalink" href="#DESCRIPTION_2">DESCRIPTION</a></h1>
+<p class="Pp">Text in duplicate description section.</p>
+</section>
+<section class="Sh">
<h1 class="Sh" id="examples"><a class="permalink" href="#examples">EXAMPLES</a></h1>
<p class="Pp">Text introducing examples.</p>
<section class="Ss">
<h2 class="Ss" id="example"><a class="permalink" href="#example">Subsection</a></h2>
<p class="Pp">Example text.</p>
+</section>
+</section>
+<section class="Sh">
+<h1 class="Sh" id="WEIRD_SECTION"><a class="permalink" href="#WEIRD_SECTION">
+ WEIRD SECTION </a></h1>
+<p class="Pp">Text in weird section.</p>
+</section>
+<section class="Sh">
+<h1 class="Sh">&#x00A0;</h1>
+<p class="Pp">Text in section with empty header.</p>