summaryrefslogtreecommitdiffstats
path: root/regress/mdoc/Tg
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2020-04-07 22:56:02 +0000
committerIngo Schwarze <schwarze@openbsd.org>2020-04-07 22:56:02 +0000
commit78bf8cb3c86e47d614af8f2629bdc00e459cf758 (patch)
treed8d6f94069f3e5d03420e282492ea5c7206af2f8 /regress/mdoc/Tg
parentb19e09dbeb7e957bca580776d8b3a4651016c904 (diff)
downloadmandoc-78bf8cb3c86e47d614af8f2629bdc00e459cf758.tar.gz
Separate the place to put the <a href> permalink (now marked
with NODE_HREF) from the target element of the link (still marked with NODE_ID). In many cases, use this to move the target to the beginning of the paragraph, such that readers don't get dropped into the middle of a sentence.
Diffstat (limited to 'regress/mdoc/Tg')
-rw-r--r--regress/mdoc/Tg/column.in5
-rw-r--r--regress/mdoc/Tg/column.out_ascii2
-rw-r--r--regress/mdoc/Tg/column.out_markdown2
-rw-r--r--regress/mdoc/Tg/warn.out_html2
4 files changed, 6 insertions, 5 deletions
diff --git a/regress/mdoc/Tg/column.in b/regress/mdoc/Tg/column.in
index 347e7594..f12ca41d 100644
--- a/regress/mdoc/Tg/column.in
+++ b/regress/mdoc/Tg/column.in
@@ -1,4 +1,4 @@
-.\" $OpenBSD: column.in,v 1.1 2020/04/06 09:55:50 schwarze Exp $
+.\" $OpenBSD: column.in,v 1.2 2020/04/07 22:45:38 schwarze Exp $
.Dd $Mdocdate$
.Dt TG-COLUMN 1
.Os
@@ -9,8 +9,9 @@
BEGINTEST
.Tg list
.Bl -column one two
+.It one Ta
.Tg row1
-.It one Ta two
+two
.Tg row2
.It 1 2
.El
diff --git a/regress/mdoc/Tg/column.out_ascii b/regress/mdoc/Tg/column.out_ascii
index 3051005b..60391cff 100644
--- a/regress/mdoc/Tg/column.out_ascii
+++ b/regress/mdoc/Tg/column.out_ascii
@@ -10,4 +10,4 @@ DDEESSCCRRIIPPTTIIOONN
1 2
ENDTEST
-OpenBSD April 6, 2020 OpenBSD
+OpenBSD April 7, 2020 OpenBSD
diff --git a/regress/mdoc/Tg/column.out_markdown b/regress/mdoc/Tg/column.out_markdown
index a6820fd0..2042eb99 100644
--- a/regress/mdoc/Tg/column.out_markdown
+++ b/regress/mdoc/Tg/column.out_markdown
@@ -13,4 +13,4 @@ BEGINTEST
ENDTEST
-OpenBSD - April 6, 2020
+OpenBSD - April 7, 2020
diff --git a/regress/mdoc/Tg/warn.out_html b/regress/mdoc/Tg/warn.out_html
index fdc333b6..a7f92574 100644
--- a/regress/mdoc/Tg/warn.out_html
+++ b/regress/mdoc/Tg/warn.out_html
@@ -1,4 +1,4 @@
-<p class="Pp"><mark id="start-tag"></mark>initial text
+<p class="Pp" id="start-tag">initial text
<a class="permalink" href="#macro"><code class="Ic" id="macro">macro</code></a>
too many badstart badend whitespace <mark id="sub"></mark></p>
<section class="Ss">