summaryrefslogtreecommitdiffstats
path: root/eqn.c
diff options
context:
space:
mode:
Diffstat (limited to 'eqn.c')
-rw-r--r--eqn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/eqn.c b/eqn.c
index d1e2bf7b..c6bd121a 100644
--- a/eqn.c
+++ b/eqn.c
@@ -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);