diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Text/Pandoc/Readers/LaTeX.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Text/Pandoc/Readers/LaTeX.hs b/src/Text/Pandoc/Readers/LaTeX.hs index 6b7fe1829..af912c28e 100644 --- a/src/Text/Pandoc/Readers/LaTeX.hs +++ b/src/Text/Pandoc/Readers/LaTeX.hs @@ -905,10 +905,10 @@ ordered_list = do paragraph :: LP Blocks paragraph = do - x <- mconcat <$> many1 inline + x <- trimInlines . mconcat <$> many1 inline if x == mempty then return mempty - else return $ para $ trimInlines x + else return $ para x preamble :: LP Blocks preamble = mempty <$> manyTill preambleBlock beginDoc |