summaryrefslogtreecommitdiffstats
path: root/mdoc_html.c
diff options
context:
space:
mode:
Diffstat (limited to 'mdoc_html.c')
-rw-r--r--mdoc_html.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/mdoc_html.c b/mdoc_html.c
index 42fe218b..29713752 100644
--- a/mdoc_html.c
+++ b/mdoc_html.c
@@ -1642,11 +1642,10 @@ mdoc_fo_pre(MDOC_ARGS)
return(1);
}
- /* XXX: we drop non-initial arguments as per groff. */
+ if (n->child == NULL)
+ return(0);
- assert(n->child);
assert(n->child->string);
-
PAIR_CLASS_INIT(&tag, "fname");
t = print_otag(h, TAG_B, 1, &tag);
print_text(h, n->child->string);