summaryrefslogtreecommitdiffstats
path: root/mdoc_html.c
diff options
context:
space:
mode:
Diffstat (limited to 'mdoc_html.c')
-rw-r--r--mdoc_html.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/mdoc_html.c b/mdoc_html.c
index 2547f190..ad5b0872 100644
--- a/mdoc_html.c
+++ b/mdoc_html.c
@@ -2263,7 +2263,9 @@ mdoc__x_post(MDOC_ARGS)
/* TODO: %U */
- h->flags |= HTML_NOSPACE;
+ if (NULL == n->parent || MDOC_Rs != n->parent->tok)
+ return;
+
print_text(h, n->next ? "," : ".");
}