summaryrefslogtreecommitdiffstats
path: root/mdoc_html.c
diff options
context:
space:
mode:
Diffstat (limited to 'mdoc_html.c')
-rw-r--r--mdoc_html.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mdoc_html.c b/mdoc_html.c
index 22011403..e0db3832 100644
--- a/mdoc_html.c
+++ b/mdoc_html.c
@@ -2091,6 +2091,8 @@ mdoc_li_pre(MDOC_ARGS)
PAIR_CLASS_INIT(&tag, "lit");
print_otag(h, TAG_SPAN, 1, &tag);
+ if (NULL == n->child)
+ print_text(h, "");
return(1);
}