diff options
author | 2020-04-02 15:04:36 +0000 | |
---|---|---|
committer | 2020-04-02 15:04:36 +0000 | |
commit | 735c1e543343b638b339077b91a5874260cdf14b (patch) | |
tree | 930eb455cb29acfe6b5a98c93a46c9c4525d7bc6 /regress/mdoc/Em | |
parent | bc6d8c884c63e49aafa7894399d3d7060108b4ec (diff) | |
download | mandoc-735c1e543343b638b339077b91a5874260cdf14b.tar.gz mandoc-735c1e543343b638b339077b91a5874260cdf14b.tar.zst mandoc-735c1e543343b638b339077b91a5874260cdf14b.zip |
Copy tagged strings before marking hyphens as breakable.
For example, this makes ":tCo-processes" work in ksh(1).
Diffstat (limited to 'regress/mdoc/Em')
-rw-r--r-- | regress/mdoc/Em/tag.in | 6 | ||||
-rw-r--r-- | regress/mdoc/Em/tag.out_ascii | 5 | ||||
-rw-r--r-- | regress/mdoc/Em/tag.out_html | 2 | ||||
-rw-r--r-- | regress/mdoc/Em/tag.out_markdown | 4 | ||||
-rw-r--r-- | regress/mdoc/Em/tag.out_tag | 6 |
5 files changed, 12 insertions, 11 deletions
diff --git a/regress/mdoc/Em/tag.in b/regress/mdoc/Em/tag.in index 70e6eb44..eb6ac085 100644 --- a/regress/mdoc/Em/tag.in +++ b/regress/mdoc/Em/tag.in @@ -1,5 +1,5 @@ -.\" $OpenBSD: tag.in,v 1.1 2020/03/13 00:31:05 schwarze Exp $ -.Dd $Mdocdate: March 13 2020 $ +.\" $OpenBSD: tag.in,v 1.2 2020/04/02 14:55:29 schwarze Exp $ +.Dd $Mdocdate: April 2 2020 $ .Dt EM-TAG 1 .Os .Sh NAME @@ -11,7 +11,7 @@ BEGINTEST .It Em one | two text .It Xo -.Em three +.Em three-with-hyphens .Xc text .El diff --git a/regress/mdoc/Em/tag.out_ascii b/regress/mdoc/Em/tag.out_ascii index 74f8212b..283c1120 100644 --- a/regress/mdoc/Em/tag.out_ascii +++ b/regress/mdoc/Em/tag.out_ascii @@ -9,9 +9,10 @@ DDEESSCCRRIIPPTTIIOONN _o_n_e | _t_w_o text - _t_h_r_e_e text + _t_h_r_e_e_-_w_i_t_h_-_h_y_p_h_e_n_s + text _f_o_u_r _o_n_e _f_i_v_e ENDTEST -OpenBSD March 13, 2020 OpenBSD +OpenBSD April 2, 2020 OpenBSD diff --git a/regress/mdoc/Em/tag.out_html b/regress/mdoc/Em/tag.out_html index 4046673f..225343ee 100644 --- a/regress/mdoc/Em/tag.out_html +++ b/regress/mdoc/Em/tag.out_html @@ -2,7 +2,7 @@ <dt><a class="permalink" href="#one"><i class="Em" id="one">one</i></a> | <a class="permalink" href="#two"><i class="Em" id="two">two</i></a></dt> <dd>text</dd> - <dt><a class="permalink" href="#three"><i class="Em" id="three">three</i></a></dt> + <dt><a class="permalink" href="#three-with-hyphens"><i class="Em" id="three-with-hyphens">three-with-hyphens</i></a></dt> <dd>text</dd> </dl> <a class="permalink" href="#four"><i class="Em" id="four">four</i></a> diff --git a/regress/mdoc/Em/tag.out_markdown b/regress/mdoc/Em/tag.out_markdown index 4c107159..c881c2d9 100644 --- a/regress/mdoc/Em/tag.out_markdown +++ b/regress/mdoc/Em/tag.out_markdown @@ -12,7 +12,7 @@ BEGINTEST > text -*three* +*three-with-hyphens* > text @@ -22,4 +22,4 @@ BEGINTEST ENDTEST -OpenBSD - March 13, 2020 +OpenBSD - April 2, 2020 diff --git a/regress/mdoc/Em/tag.out_tag b/regress/mdoc/Em/tag.out_tag index dd032f4f..965d3e47 100644 --- a/regress/mdoc/Em/tag.out_tag +++ b/regress/mdoc/Em/tag.out_tag @@ -2,6 +2,6 @@ NAME 3 DESCRIPTION 6 one 9 two 9 -three 12 -four 13 -explicit 13 +three-with-hyphens 12 +four 14 +explicit 14 |