aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mdoc_html.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-05-17 02:38:13 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-05-17 02:38:13 +0000
commit602d98ec70f4d753a2587e8df1cd73b6c76b6081 (patch)
tree41aef27a6bb2f28290f7d2521437949ff1656b32 /mdoc_html.c
parent9368e25ce4b00e5babb0f12ac8a0854866ca2894 (diff)
downloadmandoc-602d98ec70f4d753a2587e8df1cd73b6c76b6081.tar.gz
mandoc-602d98ec70f4d753a2587e8df1cd73b6c76b6081.tar.zst
mandoc-602d98ec70f4d753a2587e8df1cd73b6c76b6081.zip
Documented ie/el.
Installing roff.7 and added it to index.sgml. Small fix for `D1' and `Bd' in -Thtml.
Diffstat (limited to 'mdoc_html.c')
-rw-r--r--mdoc_html.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/mdoc_html.c b/mdoc_html.c
index 5d6db95c..643492f9 100644
--- a/mdoc_html.c
+++ b/mdoc_html.c
@@ -1,4 +1,4 @@
-/* $Id: mdoc_html.c,v 1.63 2010/05/15 16:24:38 kristaps Exp $ */
+/* $Id: mdoc_html.c,v 1.64 2010/05/17 02:38:13 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -1289,7 +1289,7 @@ mdoc_d1_pre(MDOC_ARGS)
/* FIXME: D1 shouldn't be literal. */
- SCALE_VS_INIT(&su, INDENT - 2);
+ SCALE_VS_INIT(&su, INDENT - 1);
bufcat_su(h, "margin-left", &su);
PAIR_CLASS_INIT(&tag[0], "lit");
PAIR_STYLE_INIT(&tag[1], h);
@@ -1402,7 +1402,8 @@ mdoc_bd_pre(MDOC_ARGS)
break;
}
if (comp) {
- print_otag(h, TAG_DIV, 0, tag);
+ PAIR_STYLE_INIT(&tag[0], h);
+ print_otag(h, TAG_DIV, 1, tag);
return(1);
}
SCALE_VS_INIT(&su, 1);