commonmark-extensions 0.2.3.3 → 0.2.3.4
raw patch · 3 files changed
+7/−2 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- changelog.md +5/−1
- commonmark-extensions.cabal +1/−1
- src/Commonmark/Extensions/DefinitionList.hs +1/−0
changelog.md view
@@ -1,11 +1,15 @@ # Changelog for commonmark-extensions +## 0.2.3.4++ - Require whitespace after definition list marker (#104).+ Otherwise we can inadvertently clobber strikeout or subscript.+ ## 0.2.3.3 - Fix definition_lists extension (#96). We were not properly consuming indentation in definitions, which caused problems when the definitions themselves contained lists.- ## 0.2.3.2
commonmark-extensions.cabal view
@@ -1,5 +1,5 @@ name: commonmark-extensions-version: 0.2.3.3+version: 0.2.3.4 synopsis: Pure Haskell commonmark parser. description: This library provides some useful extensions to core commonmark
src/Commonmark/Extensions/DefinitionList.hs view
@@ -91,6 +91,7 @@ gobbleUpToSpaces 3 pos <- getPosition symbol ':' <|> symbol '~'+ lookAhead whitespace try (gobbleUpToSpaces 4 <* notFollowedBy whitespace) <|> gobbleSpaces 1 <|> 1 <$ lookAhead lineEnd