=================================================================== RCS file: /cvs/mandoc/mandocd.c,v retrieving revision 1.10 retrieving revision 1.11 diff -u -p -r1.10 -r1.11 --- mandoc/mandocd.c 2019/03/03 11:01:15 1.10 +++ mandoc/mandocd.c 2019/03/03 13:02:11 1.11 @@ -1,7 +1,7 @@ -/* $Id: mandocd.c,v 1.10 2019/03/03 11:01:15 schwarze Exp $ */ +/* $Id: mandocd.c,v 1.11 2019/03/03 13:02:11 schwarze Exp $ */ /* * Copyright (c) 2017 Michael Stapelberg - * Copyright (c) 2017 Ingo Schwarze + * Copyright (c) 2017, 2019 Ingo Schwarze * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -213,6 +213,8 @@ main(int argc, char *argv[]) process(parser, outtype, formatter); mparse_reset(parser); + if (outtype == OUTT_HTML) + html_reset(formatter); fflush(stdout); fflush(stderr);