summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2018-08-18 14:26:12 +0000
committerIngo Schwarze <schwarze@openbsd.org>2018-08-18 14:26:12 +0000
commit148ad8680d4a0a9c087cb8cb25ae50926c64f29f (patch)
treed2f9c587581984394c2a5a33e802d83df4f7a2d6
parent8a2246d97a01be2284b1f72fedf00c3e09f0db54 (diff)
downloadmandoc-148ad8680d4a0a9c087cb8cb25ae50926c64f29f.tar.gz
The .nf/.fi (fill mode) requests never have text children
and in particular do not reset font mode.
-rw-r--r--man_term.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/man_term.c b/man_term.c
index 96728a3c..fc7cca24 100644
--- a/man_term.c
+++ b/man_term.c
@@ -117,8 +117,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 */