diff options
author | John MacFarlane <fiddlosopher@gmail.com> | 2012-04-11 08:52:16 -0700 |
---|---|---|
committer | John MacFarlane <fiddlosopher@gmail.com> | 2012-04-11 08:52:16 -0700 |
commit | a388024a576d969be11efd13401d95a1a5f55577 (patch) | |
tree | c5fc39f675bdf3813f4dc603f72ede22d3783656 /src/Text/Pandoc/Readers | |
parent | a4388279debf9f8f11ebc1726c40aba4f831fe4a (diff) | |
download | pandoc-a388024a576d969be11efd13401d95a1a5f55577.tar.gz |
Small simplification of blank parser in LaTeX reader.
Diffstat (limited to 'src/Text/Pandoc/Readers')
-rw-r--r-- | src/Text/Pandoc/Readers/LaTeX.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Readers/LaTeX.hs b/src/Text/Pandoc/Readers/LaTeX.hs index d064c587c..2ea2b2da3 100644 --- a/src/Text/Pandoc/Readers/LaTeX.hs +++ b/src/Text/Pandoc/Readers/LaTeX.hs @@ -198,7 +198,7 @@ inlines = mconcat <$> many (notFollowedBy (char '}') *> inline) block :: LP Blocks block = (mempty <$ comment) - <|> (mempty <$ ((spaceChar <|> blankline) *> spaces)) + <|> (mempty <$ ((spaceChar <|> newline) *> spaces)) <|> environment <|> mempty <$ macro -- TODO improve macros, make them work everywhere <|> blockCommand |