aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Readers/LaTeX.hs
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2020-09-19 15:58:28 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2020-09-19 16:00:22 -0700
commitd5a7abd47f0862c51bc7ce8349e4290ad1c24546 (patch)
treec51cff5dc705b74975dae7877ab1fc5193821d90 /src/Text/Pandoc/Readers/LaTeX.hs
parent277ea0df3db147c5253e74abb12a913be10c9937 (diff)
downloadpandoc-d5a7abd47f0862c51bc7ce8349e4290ad1c24546.tar.gz
Change deprecated Builder.isNull to null.
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 73dd8fd1f..4805bcdde 100644
--- a/src/Text/Pandoc/Readers/LaTeX.hs
+++ b/src/Text/Pandoc/Readers/LaTeX.hs
@@ -200,7 +200,7 @@ regularSymbol = str . untoken <$> satisfyTok isRegularSymbol
inlineGroup :: PandocMonad m => LP m Inlines
inlineGroup = do
ils <- grouped inline
- if isNull ils
+ if null ils
then return mempty
else return $ spanWith nullAttr ils
-- we need the span so we can detitlecase bibtex entries;