summaryrefslogtreecommitdiffstats
path: root/mdoc_term.c
diff options
context:
space:
mode:
Diffstat (limited to 'mdoc_term.c')
-rw-r--r--mdoc_term.c5
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);
}