aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mdoc.7
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-06-06 22:25:56 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-06-06 22:25:56 +0000
commit33883780dab2d66bcefd61599b61e4947f88a2db (patch)
treed45f302dc7ee7c70fb1147d4521d536fe31700be /mdoc.7
parent10d8ff93badeca4aa0cdd78f26832996d7b3536c (diff)
downloadmandoc-33883780dab2d66bcefd61599b61e4947f88a2db.tar.gz
mandoc-33883780dab2d66bcefd61599b61e4947f88a2db.tar.zst
mandoc-33883780dab2d66bcefd61599b61e4947f88a2db.zip
Small fix to preserve trailing semicolons in examples.
Diffstat (limited to 'mdoc.7')
-rw-r--r--mdoc.78
1 files changed, 4 insertions, 4 deletions
diff --git a/mdoc.7 b/mdoc.7
index 0e3e533e..b6c2b35b 100644
--- a/mdoc.7
+++ b/mdoc.7
@@ -1,4 +1,4 @@
-.\" $Id: mdoc.7,v 1.120 2010/06/06 10:49:56 kristaps Exp $
+.\" $Id: mdoc.7,v 1.121 2010/06/06 22:25:56 kristaps Exp $
.\"
.\" Copyright (c) 2009 Kristaps Dzonsons <kristaps@bsd.lv>
.\"
@@ -1885,7 +1885,7 @@ phrases on an
.Sx \&It ,
for example,
.Pp
-.D1 .It \(dqcol1 ; <TAB> col2 ;\(dq ;
+.D1 .It \(dqcol1 ; <TAB> col2 ;\(dq \&;
.Pp
will preserve the semicolon whitespace except for the last.
.Pp
@@ -2113,7 +2113,7 @@ which is used for function return types.
.Pp
Examples:
.D1 \&.Vt unsigned char
-.D1 \&.Vt extern const char * const sys_signame[] ;
+.D1 \&.Vt extern const char * const sys_signame[] \&;
.Pp
See also
.Sx \&Ft
@@ -2148,7 +2148,7 @@ This behaviour is for compatibility with
.Pp
Examples:
.D1 \&.Xr mandoc 1
-.D1 \&.Xr mandoc 1 ;
+.D1 \&.Xr mandoc 1 \&;
.D1 \&.Xr mandoc 1 \&Ns s behaviour
.Ss \&br
.Ss \&sp