=================================================================== RCS file: /cvs/mandoc/man_validate.c,v retrieving revision 1.43 retrieving revision 1.45 diff -u -p -r1.43 -r1.45 --- mandoc/man_validate.c 2010/06/09 19:22:56 1.43 +++ mandoc/man_validate.c 2010/06/28 14:39:17 1.45 @@ -1,6 +1,6 @@ -/* $Id: man_validate.c,v 1.43 2010/06/09 19:22:56 kristaps Exp $ */ +/* $Id: man_validate.c,v 1.45 2010/06/28 14:39:17 kristaps Exp $ */ /* - * Copyright (c) 2008, 2009 Kristaps Dzonsons + * Copyright (c) 2008, 2009 Kristaps Dzonsons * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -222,6 +222,11 @@ check_text(CHKARGS) if ( ! (MAN_IGN_ESCAPE & m->pflags) && ! c) 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;