From 192195d04a6561489b2a7994ba82a517daa265b5 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Sat, 18 Aug 2018 13:05:10 +0000 Subject: prevent line breaks in the middle of .OP --- man_term.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/man_term.c b/man_term.c index 58e86bfc..231c0445 100644 --- a/man_term.c +++ b/man_term.c @@ -346,7 +346,7 @@ pre_OP(DECL_ARGS) { term_word(p, "["); - p->flags |= TERMP_NOSPACE; + p->flags |= TERMP_KEEP | TERMP_NOSPACE; if (NULL != (n = n->child)) { term_fontrepl(p, TERMFONT_BOLD); @@ -358,6 +358,7 @@ pre_OP(DECL_ARGS) } term_fontrepl(p, TERMFONT_NONE); + p->flags &= ~TERMP_KEEP; p->flags |= TERMP_NOSPACE; term_word(p, "]"); return 0; -- cgit