diff options
| author | Jasper Van der Jeugt <jaspervdj@gmail.com> | 2014-08-25 10:33:20 +0200 |
|---|---|---|
| committer | Jasper Van der Jeugt <jaspervdj@gmail.com> | 2014-08-25 10:33:20 +0200 |
| commit | b4f264d70e6afac61d6ba6ffb1d6c36120e5b862 (patch) | |
| tree | ef515f7b66a0bf46200671ca31602d4dcb22abb0 /src | |
| parent | 1288a647815c6d8d5adafea9e56e66d9014eda18 (diff) | |
| parent | 2b108126bb60e0491c47ca5dd9d78103b40c13f8 (diff) | |
| download | hakyll-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.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 |
