=================================================================== RCS file: /cvs/mandoc/mdoc_man.c,v retrieving revision 1.96 retrieving revision 1.97 diff -u -p -r1.96 -r1.97 --- mandoc/mdoc_man.c 2016/01/08 17:48:09 1.96 +++ mandoc/mdoc_man.c 2017/01/10 12:53:07 1.97 @@ -1,6 +1,6 @@ -/* $Id: mdoc_man.c,v 1.96 2016/01/08 17:48:09 schwarze Exp $ */ +/* $Id: mdoc_man.c,v 1.97 2017/01/10 12:53:07 schwarze Exp $ */ /* - * Copyright (c) 2011-2016 Ingo Schwarze + * Copyright (c) 2011-2017 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 @@ -574,6 +574,9 @@ print_node(DECL_ARGS) const struct manact *act; struct roff_node *sub; int cond, do_sub; + + if (n->flags & NODE_NOPRT) + return; /* * Break the line if we were parsed subsequent the current node.