on master help sign in
Bump pandoc dependency to 1.9
de55d03Jasper Van der Jeugt
hakyll.cabal+1−1
@@ -72,7 +72,7 @@ Library
72 mtl >= 1 && < 3.0,
72 mtl >= 1 && < 3.0,
73 old-locale >= 1.0 && < 2.0,
73 old-locale >= 1.0 && < 2.0,
74 old-time >= 1.0 && < 1.3,
74 old-time >= 1.0 && < 1.3,
75− pandoc >= 1.6 && < 2.0,
75+ pandoc >= 1.9 && < 1.10,
76 parsec >= 3.0 && < 3.2,
76 parsec >= 3.0 && < 3.2,
77 process >= 1.0 && < 1.4,
77 process >= 1.0 && < 1.4,
78 regex-base >= 0.93 && < 1.0,
78 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
67 state' = state {stateCitations = stateCitations state ++ cits}
67 state' = state {stateCitations = stateCitations state ++ cits}
68 pandocPage <- pageReadPandocWithA -< (state', page)
68 pandocPage <- pageReadPandocWithA -< (state', page)
69 let pandoc = pageBody pandocPage
69 let pandoc = pageBody pandocPage
70− pandoc' <- unsafeCompiler (tuc processBiblio) -< (csl', refs', pandoc)
70+ pandoc' <- unsafeCompiler processBiblio' -< (csl', refs', pandoc)
71 returnA -< pandocPage {pageBody = pandoc'}
71 returnA -< pandocPage {pageBody = pandoc'}
72 where
72 where
73− tuc f (x, y, z) = f x y z
73+ processBiblio' (c, r, p) = processBiblio c Nothing r p