aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Readers
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2012-04-11 08:52:16 -0700
committerJohn MacFarlane <fiddlosopher@gmail.com>2012-04-11 08:52:16 -0700
commita388024a576d969be11efd13401d95a1a5f55577 (patch)
treec5fc39f675bdf3813f4dc603f72ede22d3783656 /src/Text/Pandoc/Readers
parenta4388279debf9f8f11ebc1726c40aba4f831fe4a (diff)
downloadpandoc-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.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 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