=================================================================== RCS file: /cvs/mandoc/roff.c,v retrieving revision 1.370 retrieving revision 1.371 diff -u -p -r1.370 -r1.371 --- mandoc/roff.c 2020/02/27 01:43:52 1.370 +++ mandoc/roff.c 2020/02/27 21:43:44 1.371 @@ -1,4 +1,4 @@ -/* $Id: roff.c,v 1.370 2020/02/27 01:43:52 schwarze Exp $ */ +/* $Id: roff.c,v 1.371 2020/02/27 21:43:44 schwarze Exp $ */ /* * Copyright (c) 2008-2012, 2014 Kristaps Dzonsons * Copyright (c) 2010-2015, 2017-2020 Ingo Schwarze @@ -1173,7 +1173,7 @@ deroff(char **dest, const struct roff_node *n) char *cp; size_t sz; - if (n->type != ROFFT_TEXT) { + if (n->string == NULL) { for (n = n->child; n != NULL; n = n->next) deroff(dest, n); return;