summaryrefslogtreecommitdiffstats
path: root/regress/roff/cond/ie.in
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-07-04 22:52:00 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-07-04 22:52:00 +0000
commit7f6c894d1a180fce14611c9af352e193310d8bd3 (patch)
tree036355cde4f8b2d672025cd7830ee245fae6e6ef /regress/roff/cond/ie.in
parent5341a1c8ccff685f8aeaa889962ec2dd4b718df8 (diff)
downloadmandoc-7f6c894d1a180fce14611c9af352e193310d8bd3.tar.gz
Fix handling of \} on roff request lines.
Cures bogus error messages in pages generated with pod2man(1).
Diffstat (limited to 'regress/roff/cond/ie.in')
-rw-r--r--regress/roff/cond/ie.in12
1 files changed, 10 insertions, 2 deletions
diff --git a/regress/roff/cond/ie.in b/regress/roff/cond/ie.in
index bb76765d..580f4270 100644
--- a/regress/roff/cond/ie.in
+++ b/regress/roff/cond/ie.in
@@ -1,5 +1,5 @@
-.\" $OpenBSD: ie.in,v 1.5 2017/07/04 14:53:26 schwarze Exp $
-.TH IE 1 "December 16, 2014"
+.\" $OpenBSD: ie.in,v 1.6 2017/07/04 22:49:59 schwarze Exp $
+.TH IE 1 "July 4, 2017"
.SH NAME
if \- the roff conditional instruction with else-clause
.SH DESCRIPTION
@@ -10,6 +10,14 @@ Text following the true condition.
.el One-line else after true.
.el Another else after true.
.br
+.ie n \{\
+Two-line
+true condition.
+.br\}
+.el \{\
+Two-line
+else after true.
+.br\}
.ie t One-line false condition.
Text following the false condition.
.br