summaryrefslogtreecommitdiffstats
path: root/mdoc_html.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-09-22 16:10:52 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-09-22 16:10:52 +0000
commit61bc2c623cae2e83cbc5b4943f27f51f9d83661d (patch)
treedd17546d6e0a73a56c7b9a3d0961b6b9e1336583 /mdoc_html.c
parentdbb01418d6ad55a6f9f2cd4b79fd04c58447e8bc (diff)
downloadmandoc-61bc2c623cae2e83cbc5b4943f27f51f9d83661d.tar.gz
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.
Diffstat (limited to 'mdoc_html.c')
-rw-r--r--mdoc_html.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdoc_html.c b/mdoc_html.c
index a0520b91..6840445d 100644
--- a/mdoc_html.c
+++ b/mdoc_html.c
@@ -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;");