summaryrefslogtreecommitdiffstats
path: root/mdoc_html.c
diff options
context:
space:
mode:
Diffstat (limited to 'mdoc_html.c')
-rw-r--r--mdoc_html.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/mdoc_html.c b/mdoc_html.c
index 5accf6f8..831580ec 100644
--- a/mdoc_html.c
+++ b/mdoc_html.c
@@ -823,8 +823,14 @@ mdoc_xx_pre(MDOC_ARGS)
PAIR_CLASS_INIT(&tag, "unix");
print_otag(h, TAG_SPAN, 1, &tag);
+
print_text(h, pp);
- return(1);
+ if (n->child) {
+ h->flags |= HTML_KEEP;
+ print_text(h, n->child->string);
+ h->flags &= ~HTML_KEEP;
+ }
+ return(0);
}