diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-12-15 17:19:41 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-12-15 17:19:41 +0000 |
commit | 6898c14c015c995fc29b7fcd45e73889e4d03c31 (patch) | |
tree | addbe992211297ecada2309f3a0ff5f83b97920e /man_html.c | |
parent | c8f60a3cbfe7a37bbfcfd5efe6ebc7ab4034f09a (diff) | |
download | mandoc-6898c14c015c995fc29b7fcd45e73889e4d03c31.tar.gz |
Use a single P tag for paragraph breaks (which can be configured for
paragraph breaking in CSS).
Use -man's handling of `sp' and `br', which accomodates for scaling
widths (-mdoc wasn't).
Diffstat (limited to 'man_html.c')
-rw-r--r-- | man_html.c | 9 |
1 files changed, 1 insertions, 8 deletions
@@ -141,20 +141,13 @@ static void print_man(MAN_ARGS) { struct tag *t; - struct htmlpair tag; t = print_otag(h, TAG_HEAD, 0, NULL); - print_man_head(m, n, mh, h); print_tagq(h, t); - t = print_otag(h, TAG_BODY, 0, NULL); - - tag.key = ATTR_CLASS; - tag.val = "body"; - print_otag(h, TAG_DIV, 1, &tag); + t = print_otag(h, TAG_BODY, 0, NULL); print_man_nodelist(m, n, mh, h); - print_tagq(h, t); } |