summaryrefslogtreecommitdiffstatshomepage
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
commite13ccc532ba5c065e0ead1d88a8e7243d296baf5 (patch)
treed79e0cbd857fecfe80eb9dbee5ec5bf30dd3fa2c /mdoc_html.c
parent338031ae4701478d0057ccc08643c74da3a9eab2 (diff)
downloadmandoc-e13ccc532ba5c065e0ead1d88a8e7243d296baf5.tar.gz
mandoc-e13ccc532ba5c065e0ead1d88a8e7243d296baf5.tar.zst
mandoc-e13ccc532ba5c065e0ead1d88a8e7243d296baf5.zip
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.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/mdoc_html.c b/mdoc_html.c
index 3cfab636..52169447 100644
--- a/mdoc_html.c
+++ b/mdoc_html.c
@@ -1,4 +1,4 @@
-/* $Id: mdoc_html.c,v 1.140 2011/01/01 12:18:37 kristaps Exp $ */
+/* $Id: mdoc_html.c,v 1.141 2011/01/04 10:29:41 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -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);