=================================================================== RCS file: /cvs/mandoc/mdoc_html.c,v retrieving revision 1.345 retrieving revision 1.346 diff -u -p -r1.345 -r1.346 --- mandoc/mdoc_html.c 2022/07/03 14:29:45 1.345 +++ mandoc/mdoc_html.c 2022/07/04 14:37:33 1.346 @@ -1,4 +1,4 @@ -/* $Id: mdoc_html.c,v 1.345 2022/07/03 14:29:45 schwarze Exp $ */ +/* $Id: mdoc_html.c,v 1.346 2022/07/04 14:37:33 schwarze Exp $ */ /* * Copyright (c) 2014-2022 Ingo Schwarze * Copyright (c) 2008-2011, 2014 Kristaps Dzonsons @@ -293,11 +293,11 @@ html_mdoc(void *arg, const struct roff_meta *mdoc) if ((h->oflags & HTML_FRAGMENT) == 0) { print_gen_decls(h); print_otag(h, TAG_HTML, ""); - if (n != NULL && n->type == ROFFT_COMMENT) - print_gen_comment(h, n); t = print_otag(h, TAG_HEAD, ""); print_mdoc_head(mdoc, h); print_tagq(h, t); + if (n != NULL && n->type == ROFFT_COMMENT) + print_gen_comment(h, n); print_otag(h, TAG_BODY, ""); }