From bda49a7856bd1000a0e330e4a73d8887cdbeacf2 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Sun, 12 Jul 2009 16:38:15 +0000 Subject: Added back in MDOC_TEXT stipulation in NAME check (post-Nm punctuation, duh). --- mdoc_validate.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mdoc_validate.c b/mdoc_validate.c index b19aba56..d39645bf 100644 --- a/mdoc_validate.c +++ b/mdoc_validate.c @@ -1168,6 +1168,8 @@ post_sh_body(POST_ARGS) for ( ; n && n->next; n = n->next) { if (MDOC_ELEM == n->type && MDOC_Nm == n->tok) continue; + if (MDOC_TEXT == n->type) + continue; if ( ! mdoc_nwarn(mdoc, mdoc->last, ENAMESECINC)) return(0); } -- cgit