summaryrefslogtreecommitdiffstats
path: root/man_html.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-12-15 17:19:41 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-12-15 17:19:41 +0000
commit6898c14c015c995fc29b7fcd45e73889e4d03c31 (patch)
treeaddbe992211297ecada2309f3a0ff5f83b97920e /man_html.c
parentc8f60a3cbfe7a37bbfcfd5efe6ebc7ab4034f09a (diff)
downloadmandoc-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.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/man_html.c b/man_html.c
index 5e0959f4..accd77be 100644
--- a/man_html.c
+++ b/man_html.c
@@ -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);
}