diff options
Diffstat (limited to 'man_validate.c')
-rw-r--r-- | man_validate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/man_validate.c b/man_validate.c index c568e4cb..362b0da9 100644 --- a/man_validate.c +++ b/man_validate.c @@ -223,7 +223,7 @@ check_text(CHKARGS) return(c); } - if ('\t' == *p || isprint((u_char)*p)) + if ('\t' == *p || isprint((u_char)*p) || ASCII_HYPH == *p) continue; if ( ! man_pmsg(m, n->line, pos, MANDOCERR_BADCHAR)) return(0); |