summaryrefslogtreecommitdiffstatshomepage
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
commitef09d267153b67097acd651a9e01d61286af614f (patch)
tree4146577dd949e9c7a1ca892e847a519581de1545 /mdoc_html.c
parent64fa4905f53e0a784a48492ea4b947022d94a0cd (diff)
downloadmandoc-ef09d267153b67097acd651a9e01d61286af614f.tar.gz
mandoc-ef09d267153b67097acd651a9e01d61286af614f.tar.zst
mandoc-ef09d267153b67097acd651a9e01d61286af614f.zip
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.c4
1 files changed, 2 insertions, 2 deletions
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 <kristaps@kth.se>
*
@@ -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;");