=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/mandoc/mdoc_validate.c,v retrieving revision 1.282 retrieving revision 1.283 diff -c -r1.282 -r1.283 *** src/usr.bin/mandoc/mdoc_validate.c 2018/12/31 04:55:42 1.282 --- src/usr.bin/mandoc/mdoc_validate.c 2018/12/31 07:45:42 1.283 *************** *** 1,4 **** ! /* $OpenBSD: mdoc_validate.c,v 1.282 2018/12/31 04:55:42 schwarze Exp $ */ /* * Copyright (c) 2008-2012 Kristaps Dzonsons * Copyright (c) 2010-2018 Ingo Schwarze --- 1,4 ---- ! /* $OpenBSD: mdoc_validate.c,v 1.283 2018/12/31 07:45:42 schwarze Exp $ */ /* * Copyright (c) 2008-2012 Kristaps Dzonsons * Copyright (c) 2010-2018 Ingo Schwarze *************** *** 336,342 **** check_text(mdoc, n->line, n->pos, n->string); if (np->tok != MDOC_Ql && np->tok != MDOC_Dl && (np->tok != MDOC_Bd || ! (mdoc->flags & MDOC_LITERAL) == 0) && (np->tok != MDOC_It || np->type != ROFFT_HEAD || np->parent->parent->norm->Bl.type != LIST_diag)) check_text_em(mdoc, n->line, n->pos, n->string); --- 336,342 ---- check_text(mdoc, n->line, n->pos, n->string); if (np->tok != MDOC_Ql && np->tok != MDOC_Dl && (np->tok != MDOC_Bd || ! (mdoc->flags & ROFF_NOFILL) == 0) && (np->tok != MDOC_It || np->type != ROFFT_HEAD || np->parent->parent->norm->Bl.type != LIST_diag)) check_text_em(mdoc, n->line, n->pos, n->string); *************** *** 409,415 **** { char *cp; ! if (MDOC_LITERAL & mdoc->flags) return; for (cp = p; NULL != (p = strchr(p, '\t')); p++) --- 409,415 ---- { char *cp; ! if (mdoc->flags & ROFF_NOFILL) return; for (cp = p; NULL != (p = strchr(p, '\t')); p++)