aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/eqn.c
diff options
context:
space:
mode:
Diffstat (limited to 'eqn.c')
-rw-r--r--eqn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/eqn.c b/eqn.c
index 9c01551c..59972171 100644
--- a/eqn.c
+++ b/eqn.c
@@ -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 <kristaps@bsd.lv>
* Copyright (c) 2014, 2015, 2017 Ingo Schwarze <schwarze@openbsd.org>
@@ -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);