packages feed

commonmark-pandoc 0.2.2 → 0.2.2.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.2.1++- Remove nested footnotes (#138).+ ## 0.2.2  - Add support for alerts extension (#132).
commonmark-pandoc.cabal view
@@ -1,5 +1,5 @@ name:           commonmark-pandoc-version:        0.2.2+version:        0.2.2.1 synopsis:       Bridge between commonmark and pandoc AST. description:    This library provides typeclasses for rendering                 commonmark to Pandoc types.
src/Commonmark/Pandoc.hs view
@@ -232,7 +232,7 @@      => HasFootnote (Cm a B.Inlines) (Cm a B.Blocks) where   footnote _num _lab _x = mempty   footnoteList _xs = mempty-  footnoteRef _num _lab contents = B.note <$> contents+  footnoteRef _num _lab contents = B.note . walk deNote <$> contents  illegalCodePoint :: T.Text -> Bool illegalCodePoint t =