summaryrefslogtreecommitdiffstats
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
commit9bb0d5ea532e2b362d1fb5735a4cc8b52778f2cf (patch)
treec5d1e9daf4d87562428cdb83f93b22683914d420 /mdoc_html.c
parent67133ddcbfe0b9906819c8aa8d21f7cfc54b1e39 (diff)
downloadmandoc-9bb0d5ea532e2b362d1fb5735a4cc8b52778f2cf.tar.gz
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.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/mdoc_html.c b/mdoc_html.c
index f1eb6ce5..9da1779e 100644
--- a/mdoc_html.c
+++ b/mdoc_html.c
@@ -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);