diff options
author | Rickard Nilsson <rickynils@gmail.com> | 2014-08-20 17:50:50 +0200 |
---|---|---|
committer | Rickard Nilsson <rickynils@gmail.com> | 2014-08-20 18:05:20 +0200 |
commit | ac9b3d7d937706c91ea803b3dd8388bed6116e99 (patch) | |
tree | 446c28369c7fd64e7f1d49da3f6371764ce6480b /src/Hakyll/Web | |
parent | 7f7c628823f159690c10393ab1b4c5c45c4c52d1 (diff) | |
download | hakyll-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.hs | 2 |
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 |