aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tbl_html.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-10-14 02:16:06 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-10-14 02:16:06 +0000
commita7ddb6ec4103182af944faf6e8eab831579a19ba (patch)
tree888b4a23a0606ef2d871f1d96b28cdae5ce8001f /tbl_html.c
parent2b61f99bf2ba76a47538698f550c82f40a531253 (diff)
downloadmandoc-a7ddb6ec4103182af944faf6e8eab831579a19ba.tar.gz
mandoc-a7ddb6ec4103182af944faf6e8eab831579a19ba.tar.zst
mandoc-a7ddb6ec4103182af944faf6e8eab831579a19ba.zip
Rudimentary implementation of the e, x, and z table layout modifiers
to equalize, maximize, and ignore the width of columns. Does not yet take vertical rulers into account, and does not do line breaks within table cells. Considerably improves the lftp(1) manual; issue noticed by sthen@.
Diffstat (limited to 'tbl_html.c')
-rw-r--r--tbl_html.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tbl_html.c b/tbl_html.c
index 2a93de63..1de1bb8b 100644
--- a/tbl_html.c
+++ b/tbl_html.c
@@ -1,4 +1,4 @@
-/* $Id: tbl_html.c,v 1.12 2014/08/10 23:54:41 schwarze Exp $ */
+/* $Id: tbl_html.c,v 1.13 2014/10/14 02:16:06 schwarze Exp $ */
/*
* Copyright (c) 2011 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -57,7 +57,7 @@ html_tblopen(struct html *h, const struct tbl_span *sp)
if (TBL_SPAN_FIRST & sp->flags) {
h->tbl.len = html_tbl_len;
h->tbl.slen = html_tbl_strlen;
- tblcalc(&h->tbl, sp);
+ tblcalc(&h->tbl, sp, 0);
}
assert(NULL == h->tblt);