summaryrefslogtreecommitdiffstats
path: root/regress/man/IP
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/IP
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/IP')
-rw-r--r--regress/man/IP/tag.in10
-rw-r--r--regress/man/IP/tag.out_ascii10
-rw-r--r--regress/man/IP/tag.out_html6
-rw-r--r--regress/man/IP/tag.out_tag3
4 files changed, 26 insertions, 3 deletions
diff --git a/regress/man/IP/tag.in b/regress/man/IP/tag.in
index 038fa969..b94d5582 100644
--- a/regress/man/IP/tag.in
+++ b/regress/man/IP/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
@@ -12,6 +12,12 @@ text
text
.IP "\&\fI \-weak\fP"
text
+.IP "hyphen-minus"
+text
+.IP "minus\-sign"
+text
+.IP "\-strong"
+text
.IP " strong"
text
.PP
diff --git a/regress/man/IP/tag.out_ascii b/regress/man/IP/tag.out_ascii
index 26c9532c..c3d58bdf 100644
--- a/regress/man/IP/tag.out_ascii
+++ b/regress/man/IP/tag.out_ascii
@@ -12,8 +12,16 @@ DDEESSCCRRIIPPTTIIOONN
_-_w_e_a_k text
+ hyphen-minus
+ text
+
+ minus-sign
+ text
+
+ -strong text
+
strong text
ENDTEST
-OpenBSD March 10, 2020 IP-TAG(1)
+OpenBSD November 24, 2023 IP-TAG(1)
diff --git a/regress/man/IP/tag.out_html b/regress/man/IP/tag.out_html
index 4d25b12b..71484198 100644
--- a/regress/man/IP/tag.out_html
+++ b/regress/man/IP/tag.out_html
@@ -5,6 +5,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">-strong</a></dt>
+ <dd>text</dd>
<dt> strong</dt>
<dd>text</dd>
</dl>
diff --git a/regress/man/IP/tag.out_tag b/regress/man/IP/tag.out_tag
index 881468ea..b8058430 100644
--- a/regress/man/IP/tag.out_tag
+++ b/regress/man/IP/tag.out_tag
@@ -2,3 +2,6 @@ NAME tag.mandoc_ascii 3
DESCRIPTION tag.mandoc_ascii 6
strong tag.mandoc_ascii 11
weak tag.mandoc_ascii 13
+hyphen-minus tag.mandoc_ascii 15
+minus-sign tag.mandoc_ascii 18
+strong tag.mandoc_ascii 21