summaryrefslogtreecommitdiffstats
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
commitdb7e43f14579272d3f0f3b85346bfb0e957dacee (patch)
treeae16d544d681a2c15905ca39fc13102f3527b145 /mdoc.7
parenta94d91b34afa070bb80ff959eebfb792d4fc4f35 (diff)
downloadmandoc-db7e43f14579272d3f0f3b85346bfb0e957dacee.tar.gz
Small fix to preserve trailing semicolons in examples.
Diffstat (limited to 'mdoc.7')
-rw-r--r--mdoc.76
1 files changed, 3 insertions, 3 deletions
diff --git a/mdoc.7 b/mdoc.7
index 452342a8..9ac577d5 100644
--- a/mdoc.7
+++ b/mdoc.7
@@ -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