summaryrefslogtreecommitdiffstats
path: root/mdoc_term.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2013-05-29 15:40:22 +0000
committerIngo Schwarze <schwarze@openbsd.org>2013-05-29 15:40:22 +0000
commita179c7ed6c4435e934471a7f39ff5517b6d176b8 (patch)
tree26fbd56fc7f3d860809bee8e2bc5d204a79d7f21 /mdoc_term.c
parent03185a10aa6972aeaa81144ae84194480f5549a5 (diff)
downloadmandoc-a179c7ed6c4435e934471a7f39ff5517b6d176b8.tar.gz
In SYNOPSIS mode, .Ek doesn't end a keep.
Found and fixed on the plane to the OpenBSD t2k13 hackathon in Toronto.
Diffstat (limited to 'mdoc_term.c')
-rw-r--r--mdoc_term.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdoc_term.c b/mdoc_term.c
index 015af506..dadbf513 100644
--- a/mdoc_term.c
+++ b/mdoc_term.c
@@ -2215,7 +2215,7 @@ static void
termp_bk_post(DECL_ARGS)
{
- if (MDOC_BODY == n->type)
+ if (MDOC_BODY == n->type && ! (MDOC_SYNPRETTY & n->flags))
p->flags &= ~(TERMP_KEEP | TERMP_PREKEEP);
}