summaryrefslogtreecommitdiffstats
path: root/regress/man/TP
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2023-11-24 05:06:56 +0000
committerIngo Schwarze <schwarze@openbsd.org>2023-11-24 05:06:56 +0000
commitc95404e2e1a9ff5e187d4df29a6a91cf7b34c1c5 (patch)
treeeafc67f10b56ee4fc794178e836de0dd2f687cea /regress/man/TP
parent7c821146e12f71433cc5a7c3ee230f03a36997e1 (diff)
downloadmandoc-master.tar.gz
Additional tests of automatic tagging involving different kinds of hyphensHEADoriginmaster
after tag.c rev. 1.38.
Diffstat (limited to 'regress/man/TP')
-rw-r--r--regress/man/TP/tag.in13
-rw-r--r--regress/man/TP/tag.out_ascii10
-rw-r--r--regress/man/TP/tag.out_html6
-rw-r--r--regress/man/TP/tag.out_tag3
4 files changed, 29 insertions, 3 deletions
diff --git a/regress/man/TP/tag.in b/regress/man/TP/tag.in
index 34d1e151..2e7819de 100644
--- a/regress/man/TP/tag.in
+++ b/regress/man/TP/tag.in
@@ -1,5 +1,5 @@
-.\" $OpenBSD: tag.in,v 1.1 2020/03/13 00:31:05 schwarze Exp $
-.TH IP-TAG 1 "March 10, 2020"
+.\" $OpenBSD: tag.in,v 1.2 2023/11/24 04:53:39 schwarze Exp $
+.TH IP-TAG 1 "November 24, 2023"
.SH NAME
IP-tag \- automatic tagging of indented blocks
.SH DESCRIPTION
@@ -25,6 +25,15 @@ text
\&\fI \-weak\fP
text
.TP
+hyphen-minus
+text
+.TP
+minus\-sign
+text
+.TP
+.B \-strong
+text
+.TP
.B "strong "
text
.PP
diff --git a/regress/man/TP/tag.out_ascii b/regress/man/TP/tag.out_ascii
index 57b69105..e8dc7645 100644
--- a/regress/man/TP/tag.out_ascii
+++ b/regress/man/TP/tag.out_ascii
@@ -18,8 +18,16 @@ DDEESSCCRRIIPPTTIIOONN
_-_w_e_a_k text
+ hyphen-minus
+ text
+
+ minus-sign
+ text
+
+ --ssttrroonngg text
+
ssttrroonngg text
ENDTEST
-OpenBSD March 10, 2020 IP-TAG(1)
+OpenBSD November 24, 2023 IP-TAG(1)
diff --git a/regress/man/TP/tag.out_html b/regress/man/TP/tag.out_html
index 3fbbe41d..b3b8aac8 100644
--- a/regress/man/TP/tag.out_html
+++ b/regress/man/TP/tag.out_html
@@ -11,6 +11,12 @@
<dd>text</dd>
<dt id="weak"><a class="permalink" href="#weak"><i> -weak</i></a></dt>
<dd>text</dd>
+ <dt id="hyphen-minus"><a class="permalink" href="#hyphen-minus">hyphen-minus</a></dt>
+ <dd>text</dd>
+ <dt id="minus-sign"><a class="permalink" href="#minus-sign">minus-sign</a></dt>
+ <dd>text</dd>
+ <dt id="strong~2"><a class="permalink" href="#strong~2"><b>-strong</b></a></dt>
+ <dd>text</dd>
<dt><b>strong </b></dt>
<dd>text</dd>
</dl>
diff --git a/regress/man/TP/tag.out_tag b/regress/man/TP/tag.out_tag
index cf882ddb..3811ac42 100644
--- a/regress/man/TP/tag.out_tag
+++ b/regress/man/TP/tag.out_tag
@@ -3,3 +3,6 @@ DESCRIPTION tag.mandoc_ascii 6
plain tag.mandoc_ascii 11
strong tag.mandoc_ascii 17
weak tag.mandoc_ascii 19
+hyphen-minus tag.mandoc_ascii 21
+minus-sign tag.mandoc_ascii 24
+strong tag.mandoc_ascii 27