=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/mandoc/mdoc_html.c,v retrieving revision 1.30 retrieving revision 1.31 diff -c -r1.30 -r1.31 *** src/usr.bin/mandoc/mdoc_html.c 2010/09/20 20:02:27 1.30 --- src/usr.bin/mandoc/mdoc_html.c 2010/09/26 18:23:54 1.31 *************** *** 1,4 **** ! /* $Id: mdoc_html.c,v 1.30 2010/09/20 20:02:27 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons * --- 1,4 ---- ! /* $Id: mdoc_html.c,v 1.31 2010/09/26 18:23:54 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons * *************** *** 2104,2120 **** 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); ! } PAIR_CLASS_INIT(&tag, "ref"); print_otag(h, TAG_SPAN, 1, &tag); --- 2104,2117 ---- mdoc_rs_pre(MDOC_ARGS) { struct htmlpair tag; if (MDOC_BLOCK != n->type) return(1); if (n->prev && SEC_SEE_ALSO == n->sec) { ! 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); *************** *** 2262,2268 **** /* TODO: %U */ ! h->flags |= HTML_NOSPACE; print_text(h, n->next ? "," : "."); } --- 2259,2267 ---- /* TODO: %U */ ! if (NULL == n->parent || MDOC_Rs != n->parent->tok) ! return; ! print_text(h, n->next ? "," : "."); }