summaryrefslogtreecommitdiffstats
path: root/mdoc_term.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-09-25 15:51:30 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-09-25 15:51:30 +0000
commit75e47454ebb9c175bc6a63e6612d125247626e26 (patch)
treee4f9d701dc3d76685e71c23b18656cf9e93f582b /mdoc_term.c
parent1a871439301a9e5badf30e99fdad0c68ac99283c (diff)
downloadmandoc-75e47454ebb9c175bc6a63e6612d125247626e26.tar.gz
Add `Rs' vertical-space in -T[x]html "SEE ALSO" section. Remove
corresponding TODO entry. Also have the "." after an `Rs' block trigger inter-sentence spacing.
Diffstat (limited to 'mdoc_term.c')
-rw-r--r--mdoc_term.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/mdoc_term.c b/mdoc_term.c
index 5d758372..f4a9cea2 100644
--- a/mdoc_term.c
+++ b/mdoc_term.c
@@ -2131,7 +2131,11 @@ termp____post(DECL_ARGS)
/* TODO: %U. */
p->flags |= TERMP_NOSPACE;
- term_word(p, n->next ? "," : ".");
+ if (NULL == n->next) {
+ term_word(p, ".");
+ p->flags |= TERMP_SENTENCE;
+ } else
+ term_word(p, ",");
}