=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/mandoc/mdoc_html.c,v retrieving revision 1.195 retrieving revision 1.196 diff -c -r1.195 -r1.196 *** src/usr.bin/mandoc/mdoc_html.c 2018/12/25 00:05:38 1.195 --- src/usr.bin/mandoc/mdoc_html.c 2018/12/30 00:48:47 1.196 *************** *** 1,4 **** ! /* $OpenBSD: mdoc_html.c,v 1.195 2018/12/25 00:05:38 schwarze Exp $ */ /* * Copyright (c) 2008-2011, 2014 Kristaps Dzonsons * Copyright (c) 2014,2015,2016,2017,2018 Ingo Schwarze --- 1,4 ---- ! /* $OpenBSD: mdoc_html.c,v 1.196 2018/12/30 00:48:47 schwarze Exp $ */ /* * Copyright (c) 2008-2011, 2014 Kristaps Dzonsons * Copyright (c) 2014,2015,2016,2017,2018 Ingo Schwarze *************** *** 281,287 **** } void ! html_mdoc(void *arg, const struct roff_man *mdoc) { struct html *h; struct roff_node *n; --- 281,287 ---- } void ! html_mdoc(void *arg, const struct roff_meta *mdoc) { struct html *h; struct roff_node *n; *************** *** 296,311 **** if (n->type == ROFFT_COMMENT) print_gen_comment(h, n); t = print_otag(h, TAG_HEAD, ""); ! print_mdoc_head(&mdoc->meta, h); print_tagq(h, t); print_otag(h, TAG_BODY, ""); } ! mdoc_root_pre(&mdoc->meta, h); t = print_otag(h, TAG_DIV, "c", "manual-text"); ! print_mdoc_nodelist(&mdoc->meta, n, h); print_tagq(h, t); ! mdoc_root_post(&mdoc->meta, h); print_tagq(h, NULL); } --- 296,311 ---- if (n->type == ROFFT_COMMENT) print_gen_comment(h, n); t = print_otag(h, TAG_HEAD, ""); ! print_mdoc_head(mdoc, h); print_tagq(h, t); print_otag(h, TAG_BODY, ""); } ! mdoc_root_pre(mdoc, h); t = print_otag(h, TAG_DIV, "c", "manual-text"); ! print_mdoc_nodelist(mdoc, n, h); print_tagq(h, t); ! mdoc_root_post(mdoc, h); print_tagq(h, NULL); }