aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Writers
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2016-03-25 09:05:38 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2016-03-25 09:05:38 -0700
commit9742c486478e414b495670377923c44c840b9e01 (patch)
tree321f089df761aaba578ae8cd352afbb43b2a7316 /src/Text/Pandoc/Writers
parent90abe3216b70cc3380958d64b8f11a01d327888c (diff)
downloadpandoc-9742c486478e414b495670377923c44c840b9e01.tar.gz
Removed two superfluous lines.
Diffstat (limited to 'src/Text/Pandoc/Writers')
-rw-r--r--src/Text/Pandoc/Writers/LaTeX.hs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/Text/Pandoc/Writers/LaTeX.hs b/src/Text/Pandoc/Writers/LaTeX.hs
index dd5b14424..693de93fa 100644
--- a/src/Text/Pandoc/Writers/LaTeX.hs
+++ b/src/Text/Pandoc/Writers/LaTeX.hs
@@ -409,8 +409,6 @@ blockToLaTeX (Para [Image attr@(ident, _, _) txt (src,'f':'i':'g':':':tit)]) = d
capt <- inlineListToLaTeX txt
notes <- gets stNotes
modify $ \st -> st{ stInMinipage = False, stNotes = [] }
- ref <- text `fmap` toLabel ident
- internalLinks <- gets stInternalLinks
-- We can't have footnotes in the list of figures, so remove them:
captForLof <- if null notes