aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlbert Krewinkel <albert@zeitkraut.de>2020-06-22 15:47:46 +0200
committerAlbert Krewinkel <albert@zeitkraut.de>2020-06-22 16:30:11 +0200
commit064303e2c99636437355295ba16b3ea154bf9d3e (patch)
treea0b987ec9c84d567952654430ac5cdd05acff884
parentf91121fe56d7c5647bcad118953f41212fd38f8c (diff)
downloadpandoc-064303e2c99636437355295ba16b3ea154bf9d3e.tar.gz
Jira writer: always escape braces
Braces are now always escaped, even within words or when surrounded by whitespace. Jira and Confluence treat braces specially. Package jira-wiki-markup must be version 1.3.2 or later. Fixes: #6478
-rw-r--r--pandoc.cabal2
-rw-r--r--stack.yaml2
-rw-r--r--test/writer.jira2
3 files changed, 3 insertions, 3 deletions
diff --git a/pandoc.cabal b/pandoc.cabal
index cd731510a..6165d2b44 100644
--- a/pandoc.cabal
+++ b/pandoc.cabal
@@ -410,7 +410,7 @@ library
temporary >= 1.1 && < 1.4,
blaze-html >= 0.9 && < 0.10,
blaze-markup >= 0.8 && < 0.9,
- jira-wiki-markup >= 1.3.1 && < 1.4,
+ jira-wiki-markup >= 1.3.2 && < 1.4,
hslua >= 1.1 && < 1.2,
hslua-module-system >= 0.2 && < 0.3,
hslua-module-text >= 0.2.1 && < 0.3,
diff --git a/stack.yaml b/stack.yaml
index 9d47c2574..ff50bea40 100644
--- a/stack.yaml
+++ b/stack.yaml
@@ -26,7 +26,7 @@ extra-deps:
- doclayout-0.3
- emojis-0.1
- hslua-1.1.0
-- jira-wiki-markup-1.3.1
+- jira-wiki-markup-1.3.2
- HsYAML-0.2.1.0
- HsYAML-aeson-0.2.0.0
- doctemplates-0.8.2
diff --git a/test/writer.jira b/test/writer.jira
index 36da0848f..14080c230 100644
--- a/test/writer.jira
+++ b/test/writer.jira
@@ -377,7 +377,7 @@ h1. {anchor:latex}LaTeX
* 223
* _p_\-Tree
* Here’s some display math:
-$$\frac{d\}\{dx}f\(x)=\lim\_\{h\to 0\}&bsol;frac{f(x+h)-f\(x)\}\{h}$$
+$$\frac\{d\}\{dx\}f\(x)=\lim\_\{h\to 0\}&bsol;frac\{f(x+h)-f\(x)\}\{h\}$$
* Here’s one that has a line break in it: _α_ + {_}ω{_} × {_}x{_}^2^.