summaryrefslogtreecommitdiff
path: root/src/Hakyll/Web
diff options
context:
space:
mode:
authorRickard Nilsson <rickynils@gmail.com>2014-08-20 17:50:50 +0200
committerRickard Nilsson <rickynils@gmail.com>2014-08-20 18:05:20 +0200
commitac9b3d7d937706c91ea803b3dd8388bed6116e99 (patch)
tree446c28369c7fd64e7f1d49da3f6371764ce6480b /src/Hakyll/Web
parent7f7c628823f159690c10393ab1b4c5c45c4c52d1 (diff)
downloadhakyll-ac9b3d7d937706c91ea803b3dd8388bed6116e99.tar.gz
Fix compilation errors with pandoc-citeproc 0.4
Diffstat (limited to 'src/Hakyll/Web')
-rw-r--r--src/Hakyll/Web/Pandoc/Biblio.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Hakyll/Web/Pandoc/Biblio.hs b/src/Hakyll/Web/Pandoc/Biblio.hs
index db022bc..6c92f28 100644
--- a/src/Hakyll/Web/Pandoc/Biblio.hs
+++ b/src/Hakyll/Web/Pandoc/Biblio.hs
@@ -90,7 +90,7 @@ readPandocBiblio :: ReaderOptions
-> Compiler (Item Pandoc)
readPandocBiblio ropt csl biblio item = do
-- Parse CSL file, if given
- style <- unsafeCompiler $ CSL.readCSLFile . toFilePath . itemIdentifier $ csl
+ style <- unsafeCompiler $ CSL.readCSLFile Nothing . toFilePath . itemIdentifier $ csl
-- We need to know the citation keys, add then *before* actually parsing the
-- actual page. If we don't do this, pandoc won't even consider them