pandoc-citeproc 0.1 → 0.1.1
raw patch · 2 files changed
+7/−2 lines, 2 filesdep +rfc5051PVP ok
version bump matches the API change (PVP)
Dependencies added: rfc5051
API changes (from Hackage documentation)
Files
- pandoc-citeproc.cabal +4/−1
- src/Text/CSL/Style.hs +3/−1
pandoc-citeproc.cabal view
@@ -1,5 +1,5 @@ name: pandoc-citeproc-version: 0.1+version: 0.1.1 cabal-version: >= 1.12 synopsis: Supports using pandoc with citeproc @@ -176,6 +176,9 @@ build-depends: text, text-icu default-extensions: CPP cpp-options: -DUNICODE_COLLATION+ else+ build-depends: rfc5051+ default-extensions: CPP if impl(ghc >= 6.10) build-depends: base >= 4, syb, parsec, old-locale, time
src/Text/CSL/Style.hs view
@@ -27,6 +27,8 @@ #ifdef UNICODE_COLLATION import qualified Data.Text as T import qualified Data.Text.ICU as T+#else+import Data.RFC5051 (compareUnicode) #endif -- | The representation of a parsed CSL style.@@ -233,7 +235,7 @@ #ifdef UNICODE_COLLATION comp a b = T.collate (T.collator T.Current) (T.pack a) (T.pack b) #else- comp a b = compare a b+ comp a b = compareUnicode a b #endif data Form