aboutsummaryrefslogtreecommitdiffstatshomepage
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
commit5aba35cda788d55771e487f03711631224a02002 (patch)
tree5749bfb8b102c9967bc3a62f399fefde1e13ee76 /man_html.c
parent8802f26277b361f248ff2e068e40653bc9e00560 (diff)
downloadmandoc-5aba35cda788d55771e487f03711631224a02002.tar.gz
mandoc-5aba35cda788d55771e487f03711631224a02002.tar.zst
mandoc-5aba35cda788d55771e487f03711631224a02002.zip
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.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/man_html.c b/man_html.c
index f6e8360e..e314bc93 100644
--- a/man_html.c
+++ b/man_html.c
@@ -1,4 +1,4 @@
-/* $Id: man_html.c,v 1.52 2010/12/08 10:58:22 kristaps Exp $ */
+/* $Id: man_html.c,v 1.53 2010/12/15 17:19:41 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -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);
}