From ef09d267153b67097acd651a9e01d61286af614f Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Tue, 22 Sep 2009 16:10:52 +0000 Subject: Fix segfault in -Thtml column lists. Added some more UTF-8 chars. mandoc_char.7 now has all special characters rendered. Fixed column layout in -Thtml. --- mdoc_html.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mdoc_html.c') diff --git a/mdoc_html.c b/mdoc_html.c index e4d47392..c27e353f 100644 --- a/mdoc_html.c +++ b/mdoc_html.c @@ -1,4 +1,4 @@ -/* $Id: mdoc_html.c,v 1.2 2009/09/21 23:12:08 kristaps Exp $ */ +/* $Id: mdoc_html.c,v 1.3 2009/09/22 16:10:52 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons * @@ -892,7 +892,7 @@ mdoc_tbl_head_pre(MDOC_ARGS, int t, int w) print_otag(h, TAG_DIV, 1, &tag); break; default: - buffmt("margin-left: -%dem;", w); + buffmt("margin-left: -%dem; width: %dem;", w, w); bufcat("clear: left;"); if (n->next && n->next->child) bufcat("float: left;"); -- cgit v1.2.3