aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mdoc_html.c
diff options
context:
space:
mode:
Diffstat (limited to 'mdoc_html.c')
-rw-r--r--mdoc_html.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/mdoc_html.c b/mdoc_html.c
index 2dd1b76f..1d389c91 100644
--- a/mdoc_html.c
+++ b/mdoc_html.c
@@ -1,4 +1,4 @@
-/* $Id: mdoc_html.c,v 1.105 2010/09/25 15:51:30 kristaps Exp $ */
+/* $Id: mdoc_html.c,v 1.106 2010/09/25 16:41:33 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -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 ? "," : ".");
}