aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tbl_html.c
diff options
context:
space:
mode:
Diffstat (limited to 'tbl_html.c')
-rw-r--r--tbl_html.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/tbl_html.c b/tbl_html.c
index e3c710dc..2abbf4ca 100644
--- a/tbl_html.c
+++ b/tbl_html.c
@@ -1,4 +1,4 @@
-/* $Id: tbl_html.c,v 1.1 2011/01/04 10:29:41 kristaps Exp $ */
+/* $Id: tbl_html.c,v 1.2 2011/01/04 15:02:00 kristaps Exp $ */
/*
* Copyright (c) 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -63,7 +63,8 @@ print_tbl(struct html *h, const struct tbl_span *sp)
}
tt = print_otag(h, TAG_TD, 0, NULL);
if (dp) {
- print_text(h, dp->string);
+ if (dp->string)
+ print_text(h, dp->string);
dp = dp->next;
}
print_tagq(h, tt);