aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mdoc_html.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-09-25 15:51:30 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-09-25 15:51:30 +0000
commit9313a37eec81b11df109fd39ed1815e565d3ec3a (patch)
treea1cf44fc82e1e218523af2e95facbfcc2cf88506 /mdoc_html.c
parent1d1acc2f68e2db828d54586d2a70fd956ae0d006 (diff)
downloadmandoc-9313a37eec81b11df109fd39ed1815e565d3ec3a.tar.gz
mandoc-9313a37eec81b11df109fd39ed1815e565d3ec3a.tar.zst
mandoc-9313a37eec81b11df109fd39ed1815e565d3ec3a.zip
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.
Diffstat (limited to 'mdoc_html.c')
-rw-r--r--mdoc_html.c11
1 files changed, 4 insertions, 7 deletions
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);