packages feed

pandoc-citeproc 0.1.1 → 0.1.1.1

raw patch · 2 files changed

+7/−3 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

pandoc-citeproc.cabal view
@@ -1,5 +1,5 @@ name:               pandoc-citeproc-version:            0.1.1+version:            0.1.1.1 cabal-version:      >= 1.12 synopsis:           Supports using pandoc with citeproc 
src/Text/CSL/Pandoc.hs view
@@ -75,8 +75,12 @@  stringify :: [Inline] -> String stringify = query getStr-  where getStr (Str x) = x-        getStr _ = ""+  where getStr (Str x)    = x+        getStr Space      = " "+        getStr (Code _ x) = x+        getStr (Math _ x) = x+        getStr LineBreak  = " "+        getStr _          = ""  getBibRefs :: MetaValue -> IO [Reference] getBibRefs (MetaList xs) = concat `fmap` mapM getBibRefs xs