packages feed

commonmark-pandoc 0.2.1 → 0.2.1.1

raw patch · 3 files changed

+6/−2 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

changelog.md view
@@ -1,5 +1,9 @@ # Changelog for commonmark-pandoc +## 0.2.1.1++- Don't collapse Para to Plain in task lists (#77).+ ## 0.2.1  - commonmark-pandoc.cabal: remove unneeded build-depend on containers.
commonmark-pandoc.cabal view
@@ -1,5 +1,5 @@ name:           commonmark-pandoc-version:        0.2.1+version:        0.2.1.1 synopsis:       Bridge between commonmark and pandoc AST. description:    This library provides typeclasses for rendering                 commonmark to Pandoc types.
src/Commonmark/Pandoc.hs view
@@ -165,7 +165,7 @@ toTaskListItem (checked, item) = B.fromList $   case B.toList $ coerce item of     (Plain ils : rest) -> Plain (checkbox : Space : ils) : rest-    (Para  ils : rest) -> Plain (checkbox : Space : ils) : rest+    (Para  ils : rest) -> Para  (checkbox : Space : ils) : rest     bs                 -> Plain [checkbox] : bs     where checkbox = Str (if checked then "\9746" else "\9744")