commonmark-extensions 0.2.1 → 0.2.1.1
raw patch · 4 files changed
+15/−2 lines, 4 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- changelog.md +4/−0
- commonmark-extensions.cabal +1/−1
- src/Commonmark/Extensions/Wikilinks.hs +1/−1
- test/wikilinks_title_before_pipe.md +9/−0
changelog.md view
@@ -1,5 +1,9 @@ # Changelog for commonmark-extensions +## 0.2.1.1++- Fix bug in wikilinks extensions.+ ## 0.2.1 - Add `rebase_relative_paths` extension.
commonmark-extensions.cabal view
@@ -1,5 +1,5 @@ name: commonmark-extensions-version: 0.2.1+version: 0.2.1.1 synopsis: Pure Haskell commonmark parser. description: This library provides some useful extensions to core commonmark
src/Commonmark/Extensions/Wikilinks.hs view
@@ -46,7 +46,7 @@ { syntaxInlineParsers = [ pWikilink ] } where- pWikilink = do+ pWikilink = try $ do symbol '[' symbol '[' notFollowedBy (symbol '[')
test/wikilinks_title_before_pipe.md view
@@ -31,3 +31,12 @@ <p><a href="Name%20of%20page" title="wikilink">Title</a></p> ```````````````````````````````` +Regular links should still work!++```````````````````````````````` example+[Title](Name%20of%20page)+.+<p><a href="Name%20of%20page">Title</a></p>+````````````````````````````````++