Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Gobble whitespace after formula as well as before.

This also ensures that labels after formulas are parsed.
  • Loading branch information...
commit 91b4dff7b45e6bef0251fa661c402ad7f6d21a40 1 parent 97505a3
@jgm jgm authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.