diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2014-07-07 15:03:43 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2014-07-07 15:03:43 +0000 |
commit | 9c359af9bb1bd8e1d69f8127bdd52825bd3b8014 (patch) | |
tree | 3d3b9aa7139c4a1108f3039cf9e3a4be4794ce08 /mdoc_term.c | |
parent | 04736aac15e84c2dacbbb0788d3e89d2daf75cd4 (diff) | |
download | mandoc-9c359af9bb1bd8e1d69f8127bdd52825bd3b8014.tar.gz |
no need to skip content before first section header
Diffstat (limited to 'mdoc_term.c')
-rw-r--r-- | mdoc_term.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/mdoc_term.c b/mdoc_term.c index 7c32cc2b..7ca42a50 100644 --- a/mdoc_term.c +++ b/mdoc_term.c @@ -275,8 +275,11 @@ terminal_mdoc(void *arg, const struct mdoc *mdoc) term_begin(p, print_mdoc_head, print_mdoc_foot, meta); - if (n->child) + if (n->child) { + if (MDOC_Sh != n->child->tok) + term_vspace(p); print_mdoc_nodelist(p, NULL, meta, n->child); + } term_end(p); } |