diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-06-28 14:39:17 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-06-28 14:39:17 +0000 |
commit | e5062171c5f22476001454938887ba9421a51dea (patch) | |
tree | 139a3ed33ead85417dec8dcf5d256ec6b32cf788 /mdoc_validate.c | |
parent | 2450a7490424e65c015da1592ad93e3a0d714933 (diff) | |
download | mandoc-e5062171c5f22476001454938887ba9421a51dea.tar.gz |
Notes: this must be done later. \b in the input will cause havoc.
Diffstat (limited to 'mdoc_validate.c')
-rw-r--r-- | mdoc_validate.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mdoc_validate.c b/mdoc_validate.c index 81fd7906..32dd2339 100644 --- a/mdoc_validate.c +++ b/mdoc_validate.c @@ -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)) |