summaryrefslogtreecommitdiffstats
path: root/mdoc_html.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-01-04 10:29:41 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-01-04 10:29:41 +0000
commit26beb70c0c977cb0ac61d2120a952e854ed7a277 (patch)
treea344faaf85604e907510653cf60c4e5050e037f8 /mdoc_html.c
parent41394e59b698fac5412e3a0f5405a777debd033f (diff)
downloadmandoc-26beb70c0c977cb0ac61d2120a952e854ed7a277.tar.gz
Add skeleton for -T[x]html tbl stuff. Also start to put in some bits about
the up-coming version, although we're not quite there yet.
Diffstat (limited to 'mdoc_html.c')
-rw-r--r--mdoc_html.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/mdoc_html.c b/mdoc_html.c
index bb2d0b3f..093b5607 100644
--- a/mdoc_html.c
+++ b/mdoc_html.c
@@ -423,7 +423,8 @@ print_mdoc_node(MDOC_ARGS)
print_text(h, n->string);
return;
case (MDOC_TBL):
- return;
+ print_tbl(h, n->span);
+ break;
default:
if (mdocs[n->tok].pre && ENDBODY_NOT == n->end)
child = (*mdocs[n->tok].pre)(m, n, h);
@@ -452,6 +453,8 @@ print_mdoc_node(MDOC_ARGS)
case (MDOC_ROOT):
mdoc_root_post(m, n, h);
break;
+ case (MDOC_TBL):
+ break;
default:
if (mdocs[n->tok].post && ENDBODY_NOT == n->end)
(*mdocs[n->tok].post)(m, n, h);