=================================================================== RCS file: /cvs/mandoc/mdoc_term.c,v retrieving revision 1.24 retrieving revision 1.25 diff -u -p -r1.24 -r1.25 --- mandoc/mdoc_term.c 2009/07/12 08:49:50 1.24 +++ mandoc/mdoc_term.c 2009/07/12 16:34:16 1.25 @@ -1,4 +1,4 @@ -/* $Id: mdoc_term.c,v 1.24 2009/07/12 08:49:50 kristaps Exp $ */ +/* $Id: mdoc_term.c,v 1.25 2009/07/12 16:34:16 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons * @@ -1134,6 +1134,9 @@ termp_ex_pre(DECL_ARGS) static int termp_nd_pre(DECL_ARGS) { + + if (MDOC_BODY != node->type) + return(1); /* * XXX: signed off by jmc@openbsd.org. This technically * produces a minus sign after the Nd, which is wrong, but is