aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Readers/LaTeX.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Text/Pandoc/Readers/LaTeX.hs')
-rw-r--r--src/Text/Pandoc/Readers/LaTeX.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Readers/LaTeX.hs b/src/Text/Pandoc/Readers/LaTeX.hs
index 96ee51293..518f09bd9 100644
--- a/src/Text/Pandoc/Readers/LaTeX.hs
+++ b/src/Text/Pandoc/Readers/LaTeX.hs
@@ -1301,7 +1301,7 @@ getRawCommand name txt = do
_ | isFontSizeCommand name -> return ()
| otherwise -> do
skipopts
- option "" (try (optional sp *> dimenarg))
+ option "" (try dimenarg)
void $ many braced
return $ T.unpack (txt <> untokenize rawargs)