* mandoc: test skipping of initial hyphens and minus signs in automatic
@ 2020-03-21 0:25 schwarze
0 siblings, 0 replies; only message in thread
From: schwarze @ 2020-03-21 0:25 UTC (permalink / raw)
To: source
Log Message:
-----------
test skipping of initial hyphens and minus signs in automatic tags;
related to tags.c rev. 1.30
Modified Files:
--------------
mandoc/regress/mdoc/Cm:
tag.in
tag.out_ascii
tag.out_html
tag.out_markdown
tag.out_tag
Revision Data
-------------
Index: tag.out_markdown
===================================================================
RCS file: /home/cvs/mandoc/mandoc/regress/mdoc/Cm/tag.out_markdown,v
retrieving revision 1.1
retrieving revision 1.2
diff -Lregress/mdoc/Cm/tag.out_markdown -Lregress/mdoc/Cm/tag.out_markdown -u -p -r1.1 -r1.2
--- regress/mdoc/Cm/tag.out_markdown
+++ regress/mdoc/Cm/tag.out_markdown
@@ -16,8 +16,20 @@ BEGINTEST
> text
+**-hyphen**
+
+> text
+
+**-minus-sign**
+
+> text
+
+**\backslash**
+
+> text
+
**four**
ENDTEST
-OpenBSD - March 13, 2020
+OpenBSD - March 21, 2020
Index: tag.out_html
===================================================================
RCS file: /home/cvs/mandoc/mandoc/regress/mdoc/Cm/tag.out_html,v
retrieving revision 1.1
retrieving revision 1.2
diff -Lregress/mdoc/Cm/tag.out_html -Lregress/mdoc/Cm/tag.out_html -u -p -r1.1 -r1.2
--- regress/mdoc/Cm/tag.out_html
+++ regress/mdoc/Cm/tag.out_html
@@ -5,5 +5,11 @@
<dd>text</dd>
<dt><a class="permalink" href="#three"><code class="Cm" id="three">three</code></a></dt>
<dd>text</dd>
+ <dt><a class="permalink" href="#hyphen"><code class="Cm" id="hyphen">-hyphen</code></a></dt>
+ <dd>text</dd>
+ <dt><a class="permalink" href="#minus"><code class="Cm" id="minus">-minus-sign</code></a></dt>
+ <dd>text</dd>
+ <dt><a class="permalink" href="#backslash"><code class="Cm" id="backslash">\backslash</code></a></dt>
+ <dd>text</dd>
</dl>
<a class="permalink" href="#four"><code class="Cm" id="four">four</code></a>
Index: tag.out_ascii
===================================================================
RCS file: /home/cvs/mandoc/mandoc/regress/mdoc/Cm/tag.out_ascii,v
retrieving revision 1.1
retrieving revision 1.2
diff -Lregress/mdoc/Cm/tag.out_ascii -Lregress/mdoc/Cm/tag.out_ascii -u -p -r1.1 -r1.2
--- regress/mdoc/Cm/tag.out_ascii
+++ regress/mdoc/Cm/tag.out_ascii
@@ -10,8 +10,17 @@ D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
text
t\bth\bhr\bre\bee\be text
+
+ -\b-h\bhy\byp\bph\bhe\ben\bn
+ text
+
+ -\b-m\bmi\bin\bnu\bus\bs-\b-s\bsi\big\bgn\bn
+ text
+
+ \\b\b\bba\bac\bck\bks\bsl\bla\bas\bsh\bh
+ text
f\bfo\bou\bur\br
ENDTEST
-OpenBSD March 13, 2020 OpenBSD
+OpenBSD March 21, 2020 OpenBSD
Index: tag.in
===================================================================
RCS file: /home/cvs/mandoc/mandoc/regress/mdoc/Cm/tag.in,v
retrieving revision 1.1
retrieving revision 1.2
diff -Lregress/mdoc/Cm/tag.in -Lregress/mdoc/Cm/tag.in -u -p -r1.1 -r1.2
--- regress/mdoc/Cm/tag.in
+++ regress/mdoc/Cm/tag.in
@@ -1,4 +1,4 @@
-.\" $OpenBSD: tag.in,v 1.1 2020/03/13 00:31:05 schwarze Exp $
+.\" $OpenBSD: tag.in,v 1.2 2020/03/21 00:20:38 schwarze Exp $
.Dd $Mdocdate$
.Dt CM-TAG 1
.Os
@@ -8,11 +8,17 @@
.Sh DESCRIPTION
BEGINTEST
.Bl -tag -width Ds
-.It Cm one | two
+.It Cm one | \&two
text
.It Xo
.Cm three
.Xc
+text
+.It Cm -hyphen
+text
+.It Cm \-minus\-sign
+text
+.It Cm \ebackslash
text
.El
.Tg
Index: tag.out_tag
===================================================================
RCS file: /home/cvs/mandoc/mandoc/regress/mdoc/Cm/tag.out_tag,v
retrieving revision 1.1
retrieving revision 1.2
diff -Lregress/mdoc/Cm/tag.out_tag -Lregress/mdoc/Cm/tag.out_tag -u -p -r1.1 -r1.2
--- regress/mdoc/Cm/tag.out_tag
+++ regress/mdoc/Cm/tag.out_tag
@@ -1,4 +1,7 @@
one 9
two 9
three 12
-four 13
+hyphen 14
+minus 17
+backslash 20
+four 22
--
To unsubscribe send an email to source+unsubscribe@mandoc.bsd.lv
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-03-21 0:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-21 0:25 mandoc: test skipping of initial hyphens and minus signs in automatic schwarze
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).