=================================================================== RCS file: /cvs/mandoc/mdoc_html.c,v retrieving revision 1.104 retrieving revision 1.106 diff -u -p -r1.104 -r1.106 --- mandoc/mdoc_html.c 2010/09/04 20:18:53 1.104 +++ mandoc/mdoc_html.c 2010/09/25 16:41:33 1.106 @@ -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.106 2010/09/25 16:41:33 kristaps Exp $ */ /* * Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons * @@ -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); @@ -2266,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 ? "," : "."); }