summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mdoc_html.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mdoc_html.c b/mdoc_html.c
index 7c67d072..1a9b9d84 100644
--- a/mdoc_html.c
+++ b/mdoc_html.c
@@ -751,6 +751,7 @@ mdoc_it_pre(MDOC_ARGS)
case ROFFT_HEAD:
if (h->style != NULL && !bl->norm->Bl.comp &&
(n->parent->prev == NULL ||
+ n->parent->prev->body == NULL ||
n->parent->prev->body->child != NULL)) {
t = print_otag(h, TAG_DT, "csWl",
cattr, bl->norm->Bl.width);