summaryrefslogtreecommitdiffstats
path: root/mdoc_html.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-12-15 15:59:23 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-12-15 15:59:23 +0000
commitbcfe212950ee8771555fb62a002b3dac21750c10 (patch)
treeb142010a1e9117ca2fb601b6d9a73c649b823fcf /mdoc_html.c
parent47ae77e2bde036d218817f41efc1263bf5b315a8 (diff)
downloadmandoc-bcfe212950ee8771555fb62a002b3dac21750c10.tar.gz
Remove stupid outer DIV tag in favour of regular BODY and HTML that can
be handled in CSS. Clarified "lit" tag (will be the subject of future clarification). Removed CSS2 note in mandoc.1, which is no longer the case.
Diffstat (limited to 'mdoc_html.c')
-rw-r--r--mdoc_html.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/mdoc_html.c b/mdoc_html.c
index 6ba07e90..791a072b 100644
--- a/mdoc_html.c
+++ b/mdoc_html.c
@@ -369,7 +369,6 @@ static void
print_mdoc(MDOC_ARGS)
{
struct tag *t;
- struct htmlpair tag;
t = print_otag(h, TAG_HEAD, 0, NULL);
print_mdoc_head(m, n, h);
@@ -377,10 +376,6 @@ print_mdoc(MDOC_ARGS)
t = print_otag(h, TAG_BODY, 0, NULL);
- tag.key = ATTR_CLASS;
- tag.val = "body";
- print_otag(h, TAG_DIV, 1, &tag);
-
print_mdoc_nodelist(m, n, h);
print_tagq(h, t);
}
@@ -1043,7 +1038,6 @@ mdoc_bl_pre(MDOC_ARGS)
bufcat_su(h, "margin-left", &su);
PAIR_STYLE_INIT(&tag[1], h);
i = 2;
-
}
switch (n->data.Bl->type) {