diff options
Diffstat (limited to 'man_validate.c')
-rw-r--r-- | man_validate.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/man_validate.c b/man_validate.c index 1ad10be3..57f8be9f 100644 --- a/man_validate.c +++ b/man_validate.c @@ -223,6 +223,11 @@ check_text(CHKARGS) return(c); } + /* + * FIXME: we absolutely cannot let \b get through or it + * will destroy some assumptions in terms of format. + */ + if ('\t' == *p || isprint((u_char)*p) || ASCII_HYPH == *p) continue; if ( ! man_pmsg(m, n->line, pos, MANDOCERR_BADCHAR)) |