From 78bf8cb3c86e47d614af8f2629bdc00e459cf758 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Tue, 7 Apr 2020 22:56:02 +0000 Subject: Separate the place to put the 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. --- regress/mdoc/Cm/tag.out_html | 10 +++++----- regress/mdoc/Dv/tag.out_html | 4 ++-- regress/mdoc/Em/tag.out_html | 4 ++-- regress/mdoc/Er/tag.out_html | 2 +- regress/mdoc/Ev/tag.out_html | 4 ++-- regress/mdoc/Fl/tag.out_html | 4 ++-- regress/mdoc/Fo/tag.out_html | 13 ++++++------- regress/mdoc/Ic/tag.out_html | 4 ++-- regress/mdoc/Li/tag.out_html | 4 ++-- regress/mdoc/Ms/tag.out_html | 4 ++-- regress/mdoc/No/tag.out_html | 4 ++-- regress/mdoc/Sy/tag.out_html | 4 ++-- regress/mdoc/Tg/column.in | 5 +++-- regress/mdoc/Tg/column.out_ascii | 2 +- regress/mdoc/Tg/column.out_markdown | 2 +- regress/mdoc/Tg/warn.out_html | 2 +- 16 files changed, 36 insertions(+), 36 deletions(-) (limited to 'regress') diff --git a/regress/mdoc/Cm/tag.out_html b/regress/mdoc/Cm/tag.out_html index 134f21c4..5141f52a 100644 --- a/regress/mdoc/Cm/tag.out_html +++ b/regress/mdoc/Cm/tag.out_html @@ -1,15 +1,15 @@
-
+
|
text
-
+
text
-
+
text
-
+
text
-
+
text
diff --git a/regress/mdoc/Dv/tag.out_html b/regress/mdoc/Dv/tag.out_html index cee78340..4f04e0b7 100644 --- a/regress/mdoc/Dv/tag.out_html +++ b/regress/mdoc/Dv/tag.out_html @@ -1,9 +1,9 @@
-
+
|
text
-
+
text
diff --git a/regress/mdoc/Em/tag.out_html b/regress/mdoc/Em/tag.out_html index 225343ee..f5c47121 100644 --- a/regress/mdoc/Em/tag.out_html +++ b/regress/mdoc/Em/tag.out_html @@ -1,8 +1,8 @@
-
| +
|
text
-
+
text
diff --git a/regress/mdoc/Er/tag.out_html b/regress/mdoc/Er/tag.out_html index a2c2978f..80daa28b 100644 --- a/regress/mdoc/Er/tag.out_html +++ b/regress/mdoc/Er/tag.out_html @@ -7,6 +7,6 @@

-
[]
+
[]
text
diff --git a/regress/mdoc/Ev/tag.out_html b/regress/mdoc/Ev/tag.out_html index 1e1c92b9..ccc5beb0 100644 --- a/regress/mdoc/Ev/tag.out_html +++ b/regress/mdoc/Ev/tag.out_html @@ -1,9 +1,9 @@
-
+
|
text
-
+
text
diff --git a/regress/mdoc/Fl/tag.out_html b/regress/mdoc/Fl/tag.out_html index f67a30c0..c101124f 100644 --- a/regress/mdoc/Fl/tag.out_html +++ b/regress/mdoc/Fl/tag.out_html @@ -1,8 +1,8 @@
-
| +
|
text
-
+
text
diff --git a/regress/mdoc/Fo/tag.out_html b/regress/mdoc/Fo/tag.out_html index b3508614..018ff92e 100644 --- a/regress/mdoc/Fo/tag.out_html +++ b/regress/mdoc/Fo/tag.out_html @@ -1,9 +1,8 @@ -

automatic: - () - and second()

-

() +

automatic: + () and + second()

+

() and first()

-

explicit: - () - and +

explicit: + () and (void);

diff --git a/regress/mdoc/Ic/tag.out_html b/regress/mdoc/Ic/tag.out_html index ad3cc1ef..7148cc88 100644 --- a/regress/mdoc/Ic/tag.out_html +++ b/regress/mdoc/Ic/tag.out_html @@ -1,9 +1,9 @@
-
+
|
text
-
+
text
diff --git a/regress/mdoc/Li/tag.out_html b/regress/mdoc/Li/tag.out_html index 3730caa6..d1b71573 100644 --- a/regress/mdoc/Li/tag.out_html +++ b/regress/mdoc/Li/tag.out_html @@ -1,9 +1,9 @@
-
+
|
text
-
+
text
diff --git a/regress/mdoc/Ms/tag.out_html b/regress/mdoc/Ms/tag.out_html index 0f24b2ac..9ae0292b 100644 --- a/regress/mdoc/Ms/tag.out_html +++ b/regress/mdoc/Ms/tag.out_html @@ -1,9 +1,9 @@
-
+
|
text
-
+
text
diff --git a/regress/mdoc/No/tag.out_html b/regress/mdoc/No/tag.out_html index 32696917..97109cee 100644 --- a/regress/mdoc/No/tag.out_html +++ b/regress/mdoc/No/tag.out_html @@ -1,9 +1,9 @@
-
+
|
text
-
+
text
diff --git a/regress/mdoc/Sy/tag.out_html b/regress/mdoc/Sy/tag.out_html index 69276a18..cca78319 100644 --- a/regress/mdoc/Sy/tag.out_html +++ b/regress/mdoc/Sy/tag.out_html @@ -1,8 +1,8 @@
-
| +
|
text
-
+
text
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 @@ -

initial text +

initial text too many badstart badend whitespace

-- cgit