diff options
-rw-r--r-- | TODO | 4 | ||||
-rw-r--r-- | mdoc_html.c | 11 | ||||
-rw-r--r-- | mdoc_term.c | 8 |
3 files changed, 11 insertions, 12 deletions
@@ -1,6 +1,6 @@ ************************************************************************ * Official mandoc TODO. -* $Id: TODO,v 1.49 2010/09/25 15:29:12 kristaps Exp $ +* $Id: TODO,v 1.50 2010/09/25 15:51:30 kristaps Exp $ ************************************************************************ ************************************************************************ @@ -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 f1b022a4..2dd1b76f 100644 --- a/mdoc_html.c +++ b/mdoc_html.c @@ -1,4 +1,4 @@ -/* $Id: mdoc_html.c,v 1.104 2010/09/04 20:18:53 kristaps Exp $ */ +/* $Id: mdoc_html.c,v 1.105 2010/09/25 15:51:30 kristaps Exp $ */ /* * Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv> * @@ -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 c2ba9eaf..7c70a1a5 100644 --- a/mdoc_term.c +++ b/mdoc_term.c @@ -1,4 +1,4 @@ -/* $Id: mdoc_term.c,v 1.185 2010/09/23 20:40:00 schwarze Exp $ */ +/* $Id: mdoc_term.c,v 1.186 2010/09/25 15:51:30 kristaps Exp $ */ /* * Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2010 Ingo Schwarze <schwarze@openbsd.org> @@ -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, ","); } |