From 735c1e543343b638b339077b91a5874260cdf14b Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Thu, 2 Apr 2020 15:04:36 +0000 Subject: Copy tagged strings before marking hyphens as breakable. For example, this makes ":tCo-processes" work in ksh(1). --- regress/mdoc/Sh/tag.in | 6 ++++-- regress/mdoc/Sh/tag.out_ascii | 5 ++++- regress/mdoc/Sh/tag.out_html | 4 ++++ regress/mdoc/Sh/tag.out_lint | 4 ++-- regress/mdoc/Sh/tag.out_markdown | 6 +++++- regress/mdoc/Sh/tag.out_tag | 3 ++- 6 files changed, 21 insertions(+), 7 deletions(-) (limited to 'regress/mdoc/Sh') diff --git a/regress/mdoc/Sh/tag.in b/regress/mdoc/Sh/tag.in index da8a884a..c44abbbf 100644 --- a/regress/mdoc/Sh/tag.in +++ b/regress/mdoc/Sh/tag.in @@ -1,5 +1,5 @@ -.\" $OpenBSD: tag.in,v 1.2 2020/04/01 20:10:18 schwarze Exp $ -.Dd $Mdocdate: April 1 2020 $ +.\" $OpenBSD: tag.in,v 1.3 2020/04/02 14:55:29 schwarze Exp $ +.Dd $Mdocdate: April 2 2020 $ .Dt SH-TAG 1 .Os .Sh NAME @@ -19,6 +19,8 @@ Text introducing examples. .Tg example .Ss Subsection Example text. +.Ss Sub-section +More example text. .Sh "\& WEIRD SECTION " Text in weird section. .Sh \ \& diff --git a/regress/mdoc/Sh/tag.out_ascii b/regress/mdoc/Sh/tag.out_ascii index 309cb559..8e6cce9d 100644 --- a/regress/mdoc/Sh/tag.out_ascii +++ b/regress/mdoc/Sh/tag.out_ascii @@ -20,6 +20,9 @@ EEXXAAMMPPLLEESS SSuubbsseeccttiioonn Example text. + SSuubb--sseeccttiioonn + More example text. + WWEEIIRRDD SSEECCTTIIOONN Text in weird section. @@ -28,4 +31,4 @@ EEXXAAMMPPLLEESS ENDTEST -OpenBSD April 1, 2020 OpenBSD +OpenBSD April 2, 2020 OpenBSD diff --git a/regress/mdoc/Sh/tag.out_html b/regress/mdoc/Sh/tag.out_html index 49c45fdb..d99c6d4d 100644 --- a/regress/mdoc/Sh/tag.out_html +++ b/regress/mdoc/Sh/tag.out_html @@ -12,6 +12,10 @@

Example text.

+
+

+

More example text.

+