diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-12-15 15:59:23 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-12-15 15:59:23 +0000 |
commit | befebc7c5c80a346b63f3f1eb319636ef8e63710 (patch) | |
tree | 544b5d52dfd49e744da500f7193d84062021d601 /mdoc_html.c | |
parent | 5eff9e34ad553cd3982cc1955eac2c15c7cff2f1 (diff) | |
download | mandoc-befebc7c5c80a346b63f3f1eb319636ef8e63710.tar.gz mandoc-befebc7c5c80a346b63f3f1eb319636ef8e63710.tar.zst mandoc-befebc7c5c80a346b63f3f1eb319636ef8e63710.zip |
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.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/mdoc_html.c b/mdoc_html.c index a49598b1..138e36e6 100644 --- a/mdoc_html.c +++ b/mdoc_html.c @@ -1,4 +1,4 @@ -/* $Id: mdoc_html.c,v 1.116 2010/12/15 15:32:01 kristaps Exp $ */ +/* $Id: mdoc_html.c,v 1.117 2010/12/15 15:59:23 kristaps Exp $ */ /* * Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv> * @@ -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) { |