diff options
author | John MacFarlane <jgm@berkeley.edu> | 2020-09-19 15:58:28 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2020-09-19 16:00:22 -0700 |
commit | d5a7abd47f0862c51bc7ce8349e4290ad1c24546 (patch) | |
tree | c51cff5dc705b74975dae7877ab1fc5193821d90 /src/Text/Pandoc/Readers/LaTeX.hs | |
parent | 277ea0df3db147c5253e74abb12a913be10c9937 (diff) | |
download | pandoc-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.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 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; |