=================================================================== RCS file: /cvs/mandoc/roff.c,v retrieving revision 1.263 retrieving revision 1.264 diff -u -p -r1.263 -r1.264 --- mandoc/roff.c 2015/02/21 14:46:58 1.263 +++ mandoc/roff.c 2015/04/04 13:53:42 1.264 @@ -1,4 +1,4 @@ -/* $Id: roff.c,v 1.263 2015/02/21 14:46:58 schwarze Exp $ */ +/* $Id: roff.c,v 1.264 2015/04/04 13:53:42 schwarze Exp $ */ /* * Copyright (c) 2010, 2011, 2012, 2014 Kristaps Dzonsons * Copyright (c) 2010-2015 Ingo Schwarze @@ -1128,6 +1128,8 @@ roff_parsetext(struct buf *buf, int pos, int *offs) esc = mandoc_escape((const char **)&p, NULL, NULL); if (esc == ESCAPE_ERROR) break; + while (*p == '-') + p++; continue; } else if (p == start) { p++;