-/* $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 <kristaps@kth.se>
+ * Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@bsd.lv>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
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))