aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/regress/mdoc/Dl
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2020-04-06 10:16:17 +0000
committerIngo Schwarze <schwarze@openbsd.org>2020-04-06 10:16:17 +0000
commit70b71d1de24478a8fcc7413f1cb42c83db416bc3 (patch)
tree03e1d4654d318e7f9e007d588173fcc2dbd59683 /regress/mdoc/Dl
parente03f6c4421e6265e6c69f785a01edfe489ff4f9c (diff)
downloadmandoc-70b71d1de24478a8fcc7413f1cb42c83db416bc3.tar.gz
mandoc-70b71d1de24478a8fcc7413f1cb42c83db416bc3.tar.zst
mandoc-70b71d1de24478a8fcc7413f1cb42c83db416bc3.zip
Support manual tagging of .Pp, .Bd, .D1, .Dl, .Bl, and .It.
In HTML output, improve the logic for writing inside permalinks: skip them when there is no child content or when there is a risk that the children might contain flow content.
Diffstat (limited to 'regress/mdoc/Dl')
-rw-r--r--regress/mdoc/Dl/Makefile3
-rw-r--r--regress/mdoc/Dl/spacing.in5
-rw-r--r--regress/mdoc/Dl/spacing.out_ascii2
-rw-r--r--regress/mdoc/Dl/spacing.out_lint2
-rw-r--r--regress/mdoc/Dl/spacing.out_markdown2
-rw-r--r--regress/mdoc/Dl/spacing.out_tag3
6 files changed, 11 insertions, 6 deletions
diff --git a/regress/mdoc/Dl/Makefile b/regress/mdoc/Dl/Makefile
index bed27d1b..51605be0 100644
--- a/regress/mdoc/Dl/Makefile
+++ b/regress/mdoc/Dl/Makefile
@@ -1,6 +1,7 @@
-# $OpenBSD: Makefile,v 1.2 2015/02/06 02:04:35 schwarze Exp $
+# $OpenBSD: Makefile,v 1.5 2020/04/06 09:55:49 schwarze Exp $
REGRESS_TARGETS = spacing
+TAG_TARGETS = spacing
LINT_TARGETS = spacing
.include <bsd.regress.mk>
diff --git a/regress/mdoc/Dl/spacing.in b/regress/mdoc/Dl/spacing.in
index 0f485b83..96d77ac7 100644
--- a/regress/mdoc/Dl/spacing.in
+++ b/regress/mdoc/Dl/spacing.in
@@ -1,5 +1,5 @@
-.\" $OpenBSD: spacing.in,v 1.4 2017/07/04 14:53:25 schwarze Exp $
-.Dd $Mdocdate: July 4 2017 $
+.\" $OpenBSD: spacing.in,v 1.5 2020/04/06 09:55:49 schwarze Exp $
+.Dd $Mdocdate: April 6 2020 $
.Dt DL-SPACING 1
.Os
.Sh NAME
@@ -7,6 +7,7 @@
.Nd spacing in and around one-line literal displays
.Sh DESCRIPTION
preceding text
+.Tg display
.Dl spacing in and around one-line literal displays
empty display:
.Dl
diff --git a/regress/mdoc/Dl/spacing.out_ascii b/regress/mdoc/Dl/spacing.out_ascii
index c0928ec0..c96eca32 100644
--- a/regress/mdoc/Dl/spacing.out_ascii
+++ b/regress/mdoc/Dl/spacing.out_ascii
@@ -9,4 +9,4 @@ DDEESSCCRRIIPPTTIIOONN
empty display:
following text
-OpenBSD July 4, 2017 OpenBSD
+OpenBSD April 6, 2020 OpenBSD
diff --git a/regress/mdoc/Dl/spacing.out_lint b/regress/mdoc/Dl/spacing.out_lint
index a18ed583..a31f329f 100644
--- a/regress/mdoc/Dl/spacing.out_lint
+++ b/regress/mdoc/Dl/spacing.out_lint
@@ -1 +1 @@
-mandoc: spacing.in:12:2: WARNING: empty block: Dl
+mandoc: spacing.in:13:2: WARNING: empty block: Dl
diff --git a/regress/mdoc/Dl/spacing.out_markdown b/regress/mdoc/Dl/spacing.out_markdown
index 08d15972..27dab22c 100644
--- a/regress/mdoc/Dl/spacing.out_markdown
+++ b/regress/mdoc/Dl/spacing.out_markdown
@@ -14,4 +14,4 @@ empty display:
following text
-OpenBSD - July 4, 2017
+OpenBSD - April 6, 2020
diff --git a/regress/mdoc/Dl/spacing.out_tag b/regress/mdoc/Dl/spacing.out_tag
new file mode 100644
index 00000000..b036279d
--- /dev/null
+++ b/regress/mdoc/Dl/spacing.out_tag
@@ -0,0 +1,3 @@
+NAME 3
+DESCRIPTION 6
+display 8