diff options
| -rw-r--r-- | pandoc.cabal | 2 | ||||
| -rw-r--r-- | src/Text/Pandoc/Readers/Jira.hs | 4 | ||||
| -rw-r--r-- | stack.yaml | 1 | ||||
| -rw-r--r-- | test/command/8511.md | 16 |
4 files changed, 20 insertions, 3 deletions
diff --git a/pandoc.cabal b/pandoc.cabal index 3d694bf3c..75448ba52 100644 --- a/pandoc.cabal +++ b/pandoc.cabal @@ -494,7 +494,7 @@ library http-client-tls >= 0.2.4 && < 0.4, http-types >= 0.8 && < 0.13, ipynb >= 0.2 && < 0.3, - jira-wiki-markup >= 1.4 && < 1.5, + jira-wiki-markup >= 1.5 && < 1.6, mime-types >= 0.1.1 && < 0.2, mtl >= 2.2 && < 2.4, network >= 2.6, diff --git a/src/Text/Pandoc/Readers/Jira.hs b/src/Text/Pandoc/Readers/Jira.hs index 2b55624dd..4eb637895 100644 --- a/src/Text/Pandoc/Readers/Jira.hs +++ b/src/Text/Pandoc/Readers/Jira.hs @@ -1,9 +1,9 @@ {-# LANGUAGE LambdaCase #-} {-# LANGUAGE OverloadedStrings #-} {- | - Module : Text.Pandoc.Readers.Org + Module : Text.Pandoc.Readers.Jira Copyright : © 2019-2023 Albert Krewinkel - License : GNU GPL, version 2 or above + License : GPL-2.0-or-later Maintainer : Albert Krewinkel <tarleb+pandoc@moltkeplatz.de> diff --git a/stack.yaml b/stack.yaml index 837fd098e..7b7b8ace3 100644 --- a/stack.yaml +++ b/stack.yaml @@ -28,6 +28,7 @@ extra-deps: - hslua-module-zip-1.0.0 - hslua-objectorientation-2.2.1 - hslua-packaging-2.2.1 +- jira-wiki-markup-1.5.0 - lua-2.2.1 - mime-types-0.1.1.0 - doclayout-0.4 diff --git a/test/command/8511.md b/test/command/8511.md new file mode 100644 index 000000000..b4f6e6e6e --- /dev/null +++ b/test/command/8511.md @@ -0,0 +1,16 @@ +# Conversion of icon-like sequences followed by alphanum char +## to Jira +``` +% pandoc -t jira +:P :P_ :PA :Pa :P2 +^D +\:P \:P\_ :PA :Pa :P2 +``` + +## from jira +``` +% pandoc -f jira -t markdown +\:PA +^D +\\:PA +``` |
