diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2017-06-17 13:06:16 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2017-06-17 13:06:16 +0000 |
commit | 8b829c3fb9f3b6e04849fd535eeb826b618e533a (patch) | |
tree | feb2614c572040eb7b2243865dae197c6991c68a /man_term.c | |
parent | 559c18edcfbf60d30aedce9d3c81d132f3e77621 (diff) | |
download | mandoc-8b829c3fb9f3b6e04849fd535eeb826b618e533a.tar.gz |
correct handling of blank lines after \c
Diffstat (limited to 'man_term.c')
-rw-r--r-- | man_term.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -872,7 +872,10 @@ print_man_node(DECL_ARGS) * before printing the line's data. */ if (*n->string == '\0') { - term_vspace(p); + if (p->flags & TERMP_NONEWLINE) + term_newln(p); + else + term_vspace(p); return; } else if (*n->string == ' ' && n->flags & NODE_LINE && (p->flags & TERMP_NONEWLINE) == 0) |