From 75e47454ebb9c175bc6a63e6612d125247626e26 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Sat, 25 Sep 2010 15:51:30 +0000 Subject: 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. --- mdoc_html.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'mdoc_html.c') 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); -- cgit