packages feed

jira-wiki-markup 0.1.0 → 0.1.1

raw patch · 5 files changed

+22/−5 lines, 5 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

CHANGELOG.md view
@@ -3,7 +3,12 @@ `jira-wiki-markup` uses [PVP Versioning][1]. The changelog is available [on GitHub][2]. -0.0.0+0.1.1+=====++* Ensure proper parsing of backslash-escaped characters.++0.1.0 =====  * Initially created.
README.md view
@@ -7,4 +7,11 @@ [![Build status](https://travis-ci.com/tarleb/jira-wiki-markup.svg?branch=master)](https://travis-ci.com/tarleb/jira-wiki-markup) [![Windows build status](https://ci.appveyor.com/api/projects/status/github/tarleb/jira-wiki-markup?branch=master&svg=true)](https://ci.appveyor.com/project/tarleb/jira-wiki-markup) -Handle Jira wiki markup+This package provides a parser for [Jira wiki markup]. It converts the+raw text into an abstract syntax tree. The tree is easy to handle and to+different to different output formats.++# License++This package is licensed under the MIT license. See the `LICENSE` file+for details.
jira-wiki-markup.cabal view
@@ -1,8 +1,9 @@ cabal-version:       2.0 name:                jira-wiki-markup-version:             0.1.0+version:             0.1.1 synopsis:            Handle Jira wiki markup-description:         Handle Jira wiki markup+description:         Parse jira wiki text into an abstract syntax tree for easy+                     transformation to other formats. homepage:            https://github.com/tarleb/jira-wiki-markup bug-reports:         https://github.com/tarleb/jira-wiki-markup/issues license:             MIT
src/Text/Jira/Parser/Inline.hs view
@@ -66,7 +66,7 @@  -- | Special characters which can be part of a string. symbolChars :: String-symbolChars = "_+-*^~|[]{}!&"+symbolChars = "_+-*^~|[]{}!&\\"  -- | Parses an in-paragraph newline as a @Linebreak@ element. linebreak :: JiraParser Inline
test/Text/Jira/Parser/InlineTests.hs view
@@ -213,5 +213,9 @@       parseJira (many1 inline) "shopping at P&amp;C" @?=       Right [ Str "shopping", Space, Str "at", Space             , Str "P", Entity "amp", Str "C"]++    , testCase "backslash-escaped char" $+      parseJira (normalizeInlines <$> many1 inline) "opening brace: \\{" @?=+      Right [ Str "opening", Space, Str "brace:", Space, Str "{"]     ]   ]