on master help sign in
Bump pandoc dependency to 1.9
commitde55d035142c059a974e9d2348d7dc9302951039 authorJasper Van der Jeugt <m@jaspervdj.be> dateMon 6 Feb 2012, 16:04 (15 years ago) parent96e8736
2 files changed+3−3
hakyll.cabal+1−1 src/Hakyll/Web/Pandoc/Biblio.hs+2−2
hakyll.cabal+1−1
@@ -72,7 +72,7 @@ Library
7272 mtl >= 1 && < 3.0,
7373 old-locale >= 1.0 && < 2.0,
7474 old-time >= 1.0 && < 1.3,
75− pandoc >= 1.6 && < 2.0,
75+ pandoc >= 1.9 && < 1.10,
7676 parsec >= 3.0 && < 3.2,
7777 process >= 1.0 && < 1.4,
7878 regex-base >= 0.93 && < 1.0,
src/Hakyll/Web/Pandoc/Biblio.hs+2−2
@@ -67,7 +67,7 @@ pageReadPandocBiblio state csl refs = proc page -> do
6767 state' = state {stateCitations = stateCitations state ++ cits}
6868 pandocPage <- pageReadPandocWithA -< (state', page)
6969 let pandoc = pageBody pandocPage
70− pandoc' <- unsafeCompiler (tuc processBiblio) -< (csl', refs', pandoc)
70+ pandoc' <- unsafeCompiler processBiblio' -< (csl', refs', pandoc)
7171 returnA -< pandocPage {pageBody = pandoc'}
7272 where
73− tuc f (x, y, z) = f x y z
73+ processBiblio' (c, r, p) = processBiblio c Nothing r p