diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2014-07-03 23:24:56 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2014-07-03 23:24:56 +0000 |
commit | d34c8b8f2efbf5e05c8603d4ea4f46f0b338661a (patch) | |
tree | 62e804b33db8a43ba1843508cbd098ccb404999a /mdoc_term.c | |
parent | b3a2c4a288eaff61368f73f9008d243d10ff5f7c (diff) | |
download | mandoc-d34c8b8f2efbf5e05c8603d4ea4f46f0b338661a.tar.gz |
Fix formatting of empty .Bl -inset item heads.
Downgrade empty item heads from ERROR to WARNING.
Show the list type in the error message.
Choose better variable names for nodes in post_it().
Diffstat (limited to 'mdoc_term.c')
-rw-r--r-- | mdoc_term.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mdoc_term.c b/mdoc_term.c index 89cdbdd6..7c32cc2b 100644 --- a/mdoc_term.c +++ b/mdoc_term.c @@ -747,7 +747,7 @@ termp_it_pre(DECL_ARGS) term_word(p, "\\ \\ "); break; case LIST_inset: - if (MDOC_BODY == n->type) + if (MDOC_BODY == n->type && n->parent->head->nchild) term_word(p, "\\ "); break; default: |