summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJasper Van der Jeugt <jaspervdj@gmail.com>2014-08-25 10:33:20 +0200
committerJasper Van der Jeugt <jaspervdj@gmail.com>2014-08-25 10:33:20 +0200
commitb4f264d70e6afac61d6ba6ffb1d6c36120e5b862 (patch)
treeef515f7b66a0bf46200671ca31602d4dcb22abb0 /src
parent1288a647815c6d8d5adafea9e56e66d9014eda18 (diff)
parent2b108126bb60e0491c47ca5dd9d78103b40c13f8 (diff)
downloadhakyll-b4f264d70e6afac61d6ba6ffb1d6c36120e5b862.tar.gz
Merge pull request #284 from rickynils/pandoc-citeproc-0.4
Fix compilation errors with pandoc-citeproc 0.4
Diffstat (limited to 'src')
-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