=================================================================== RCS file: /cvs/mandoc/main.c,v retrieving revision 1.348 retrieving revision 1.349 diff -u -p -r1.348 -r1.349 --- mandoc/main.c 2020/04/02 22:12:55 1.348 +++ mandoc/main.c 2020/06/14 16:24:18 1.349 @@ -1,4 +1,4 @@ -/* $Id: main.c,v 1.348 2020/04/02 22:12:55 schwarze Exp $ */ +/* $Id: main.c,v 1.349 2020/06/14 16:24:18 schwarze Exp $ */ /* * Copyright (c) 2010-2012, 2014-2020 Ingo Schwarze * Copyright (c) 2008-2012 Kristaps Dzonsons @@ -896,7 +896,7 @@ parse(struct mparse *mp, int fd, const char *file, if (outst->outdata == NULL) outdata_alloc(outst, outconf); else if (outst->outtype == OUTT_HTML) - html_reset(outst); + html_reset(outst->outdata); mandoc_xr_reset(); meta = mparse_result(mp);