diff options
Diffstat (limited to 'mdoc_validate.c')
-rw-r--r-- | mdoc_validate.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/mdoc_validate.c b/mdoc_validate.c index e5083570..48b0c40c 100644 --- a/mdoc_validate.c +++ b/mdoc_validate.c @@ -1,4 +1,4 @@ -/* $Id: mdoc_validate.c,v 1.101 2010/06/27 17:53:27 schwarze Exp $ */ +/* $Id: mdoc_validate.c,v 1.102 2010/06/28 14:39:17 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@bsd.lv> * @@ -458,6 +458,11 @@ check_text(struct mdoc *mdoc, int line, int pos, char *p) { int c; + /* + * FIXME: we absolutely cannot let \b get through or it will + * destroy some assumptions in terms of format. + */ + for ( ; *p; p++, pos++) { if ('\t' == *p) { if ( ! (MDOC_LITERAL & mdoc->flags)) |