diff options
author | 2018-08-18 14:25:55 +0000 | |
---|---|---|
committer | 2018-08-18 14:25:55 +0000 | |
commit | 5f98b3a090ad54344bd34505b7c8f31169fdfa41 (patch) | |
tree | fb4b55f52a7ba7b4ced9739559f05f18ed99802e /usr.bin/mandoc/man_term.c | |
parent | Two consecutive .SY blocks only get a blank line in between (diff) | |
download | wireguard-openbsd-5f98b3a090ad54344bd34505b7c8f31169fdfa41.tar.xz wireguard-openbsd-5f98b3a090ad54344bd34505b7c8f31169fdfa41.zip |
The .nf/.fi (fill mode) requests never have text children
and in particular do not reset font mode.
Diffstat (limited to 'usr.bin/mandoc/man_term.c')
-rw-r--r-- | usr.bin/mandoc/man_term.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/mandoc/man_term.c b/usr.bin/mandoc/man_term.c index b7b806e393a..f48c09ceabc 100644 --- a/usr.bin/mandoc/man_term.c +++ b/usr.bin/mandoc/man_term.c @@ -1,4 +1,4 @@ -/* $OpenBSD: man_term.c,v 1.170 2018/08/18 14:02:52 schwarze Exp $ */ +/* $OpenBSD: man_term.c,v 1.171 2018/08/18 14:25:55 schwarze Exp $ */ /* * Copyright (c) 2008-2012 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2010-2015, 2017, 2018 Ingo Schwarze <schwarze@openbsd.org> @@ -115,8 +115,8 @@ static const struct man_term_act man_term_acts[MAN_MAX - MAN_TH] = { { pre_I, NULL, 0 }, /* I */ { pre_alternate, NULL, 0 }, /* IR */ { pre_alternate, NULL, 0 }, /* RI */ - { pre_literal, NULL, 0 }, /* nf */ - { pre_literal, NULL, 0 }, /* fi */ + { pre_literal, NULL, MAN_NOTEXT }, /* nf */ + { pre_literal, NULL, MAN_NOTEXT }, /* fi */ { NULL, NULL, 0 }, /* RE */ { pre_RS, post_RS, 0 }, /* RS */ { pre_DT, NULL, 0 }, /* DT */ |