=================================================================== RCS file: /cvs/mandoc/eqn.c,v retrieving revision 1.71 retrieving revision 1.72 diff -u -p -r1.71 -r1.72 --- mandoc/eqn.c 2017/06/26 20:09:04 1.71 +++ mandoc/eqn.c 2017/06/29 16:31:15 1.72 @@ -1,4 +1,4 @@ -/* $Id: eqn.c,v 1.71 2017/06/26 20:09:04 schwarze Exp $ */ +/* $Id: eqn.c,v 1.72 2017/06/29 16:31:15 schwarze Exp $ */ /* * Copyright (c) 2011, 2014 Kristaps Dzonsons * Copyright (c) 2014, 2015, 2017 Ingo Schwarze @@ -683,7 +683,7 @@ eqn_parse(struct eqn_node *ep, struct eqn_box *parent) if (ep->data == NULL) return ROFF_IGN; - ep->start = ep->end = ep->data; + ep->start = ep->end = ep->data + strspn(ep->data, " ^~"); next_tok: tok = eqn_next(ep, MODE_TOK);