pandoc-types 1.12.1 → 1.12.1.1
raw patch · 2 files changed
+5/−2 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- Text/Pandoc/Definition.hs +4/−1
- pandoc-types.cabal +1/−1
Text/Pandoc/Definition.hs view
@@ -110,6 +110,7 @@ case lookupMeta "title" meta of Just (MetaInlines ils) -> ils Just (MetaBlocks [Plain ils]) -> ils+ Just (MetaBlocks [Para ils]) -> ils _ -> [] -- | Extract document authors from metadata; works just like the old@@ -119,7 +120,8 @@ case lookupMeta "author" meta of Just (MetaInlines ils) -> [ils] Just (MetaList ms) -> [ils | MetaInlines ils <- ms] ++- [ils | MetaBlocks [Plain ils] <- ms]+ [ils | MetaBlocks [Plain ils] <- ms] +++ [ils | MetaBlocks [Para ils] <- ms] _ -> [] -- | Extract date from metadata; works just like the old @docDate@.@@ -128,6 +130,7 @@ case lookupMeta "date" meta of Just (MetaInlines ils) -> ils Just (MetaBlocks [Plain ils]) -> ils+ Just (MetaBlocks [Para ils]) -> ils _ -> [] -- | Alignment of a table column.
pandoc-types.cabal view
@@ -1,5 +1,5 @@ Name: pandoc-types-Version: 1.12.1+Version: 1.12.1.1 Synopsis: Types for representing a structured document Description: @Text.Pandoc.Definition@ defines the 'Pandoc' data structure, which is used by pandoc to represent