-/* $Id: mdoc_html.c,v 1.229 2015/04/02 23:48:20 schwarze Exp $ */
+/* $Id: mdoc_html.c,v 1.230 2015/04/16 20:22:27 schwarze Exp $ */
/*
* Copyright (c) 2008-2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2014, 2015 Ingo Schwarze <schwarze@openbsd.org>
} else
t = print_otag(h, TAG_DIV, 1, &tag);
+ mdoc_root_pre(meta, n, h);
print_mdoc_nodelist(meta, n, h);
+ mdoc_root_post(meta, n, h);
print_tagq(h, t);
}
n->flags &= ~MDOC_ENDED;
switch (n->type) {
- case ROFFT_ROOT:
- child = mdoc_root_pre(meta, n, h);
- break;
case ROFFT_TEXT:
/* No tables in this mode... */
assert(NULL == h->tblt);
print_stagq(h, t);
switch (n->type) {
- case ROFFT_ROOT:
- mdoc_root_post(meta, n, h);
- break;
case ROFFT_EQN:
break;
default: