From 5aba35cda788d55771e487f03711631224a02002 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Wed, 15 Dec 2010 17:19:41 +0000 Subject: 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). --- man_html.c | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'man_html.c') 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 * @@ -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); } -- cgit v1.2.3