Skip to content
Browse files

Gobble whitespace after formula as well as before.

This also ensures that labels after formulas are parsed.
  • Loading branch information...
1 parent 97505a3 commit 91b4dff7b45e6bef0251fa661c402ad7f6d21a40 John MacFarlane committed Sep 7, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 Text/TeXMath/Parser.hs
View
1 Text/TeXMath/Parser.hs
@@ -77,6 +77,7 @@ formula :: TP [Exp]
formula = do
whiteSpace
f <- many expr
+ whiteSpace
eof
return f

0 comments on commit 91b4dff

Please sign in to comment.
Something went wrong with that request. Please try again.