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/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 +- 4 files changed, 6 insertions(+), 5 deletions(-) (limited to 'regress/mdoc/Tg') 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