source@mandoc.bsd.lv
 help / color / mirror / Atom feed
From: schwarze@mandoc.bsd.lv
To: source@mandoc.bsd.lv
Subject: mandoc: test skipping of initial hyphens and minus signs in automatic
Date: Fri, 20 Mar 2020 19:25:50 -0500 (EST)	[thread overview]
Message-ID: <11ff17a0241cc847@mandoc.bsd.lv> (raw)

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
+
+**&#45;minus&#45;sign**
+
+> text
+
+**&#92;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


                 reply	other threads:[~2020-03-21  0:25 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=11ff17a0241cc847@mandoc.bsd.lv \
    --to=schwarze@mandoc.bsd.lv \
    --cc=source@mandoc.bsd.lv \
    --subject='Re: mandoc: test skipping of initial hyphens and minus signs in automatic' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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).