diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2018-08-18 13:05:10 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2018-08-18 13:05:10 +0000 |
commit | 192195d04a6561489b2a7994ba82a517daa265b5 (patch) | |
tree | 20f4f9e101fbd8b750bfb6fef0f6e61ee55090d1 /man_term.c | |
parent | 0a1453538dc5569c45c1175c34d5a29235c58555 (diff) | |
download | mandoc-192195d04a6561489b2a7994ba82a517daa265b5.tar.gz |
prevent line breaks in the middle of .OP
Diffstat (limited to 'man_term.c')
-rw-r--r-- | man_term.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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; |