diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2013-05-29 15:40:22 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2013-05-29 15:40:22 +0000 |
commit | a179c7ed6c4435e934471a7f39ff5517b6d176b8 (patch) | |
tree | 26fbd56fc7f3d860809bee8e2bc5d204a79d7f21 | |
parent | 03185a10aa6972aeaa81144ae84194480f5549a5 (diff) | |
download | mandoc-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.
-rw-r--r-- | mdoc_man.c | 2 | ||||
-rw-r--r-- | mdoc_term.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -901,7 +901,7 @@ static void post_bk(DECL_ARGS) { - if (MDOC_BODY == n->type) + if (MDOC_BODY == n->type && ! (MDOC_SYNPRETTY & n->flags)) outflags &= ~MMAN_Bk; } 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); } |