diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-07-12 16:34:16 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-07-12 16:34:16 +0000 |
commit | 0f5746c0809693081860530e0589dd6c400eb514 (patch) | |
tree | aad5cb5b1d9974434b092fb60d6f58e05d67ba93 /mdoc_term.c | |
parent | 1629539cb88125b5e693c73664d966e47fc47c27 (diff) | |
download | mandoc-0f5746c0809693081860530e0589dd6c400eb514.tar.gz |
`Nd' is now a BFI (was an ELEM). Noted by joerg@netbsd.org, behaviour ok jmc@openbsd.org, etc.
Diffstat (limited to 'mdoc_term.c')
-rw-r--r-- | mdoc_term.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mdoc_term.c b/mdoc_term.c index 3cc580d2..97508810 100644 --- a/mdoc_term.c +++ b/mdoc_term.c @@ -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 |