summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--TODO2
-rw-r--r--mdoc_html.c9
-rw-r--r--mdoc_term.c6
3 files changed, 8 insertions, 9 deletions
diff --git a/TODO b/TODO
index d045dd5c..0ca473be 100644
--- a/TODO
+++ b/TODO
@@ -157,8 +157,6 @@
see "The route utility provides the following simple commands:"
in OpenBSD route(8).
-- In -T[x]html, Rs/Re need a div.
-
************************************************************************
* performance issues
************************************************************************
diff --git a/mdoc_html.c b/mdoc_html.c
index 32334432..2547f190 100644
--- a/mdoc_html.c
+++ b/mdoc_html.c
@@ -2108,17 +2108,14 @@ static int
mdoc_rs_pre(MDOC_ARGS)
{
struct htmlpair tag;
- struct roffsu su;
if (MDOC_BLOCK != n->type)
return(1);
if (n->prev && SEC_SEE_ALSO == n->sec) {
- SCALE_VS_INIT(&su, 1);
- bufcat_su(h, "margin-top", &su);
- PAIR_STYLE_INIT(&tag, h);
- print_otag(h, TAG_DIV, 1, &tag);
- }
+ print_otag(h, TAG_BR, 0, NULL);
+ print_otag(h, TAG_BR, 0, NULL);
+ }
PAIR_CLASS_INIT(&tag, "ref");
print_otag(h, TAG_SPAN, 1, &tag);
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, ",");
}