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
This commit is contained in:
Albert Krewinkel 2020-06-22 15:47:46 +02:00
parent f91121fe56
commit 064303e2c9
No known key found for this signature in database
GPG key ID: 388DC0B21F631124
3 changed files with 3 additions and 3 deletions

View file

@ -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,

View file

@ -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

View file

@ -377,7 +377,7 @@ h1. {anchor:latex}LaTeX
* 223
* _p_\-Tree
* Heres 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\}$$
* Heres one that has a line break in it: _α_+{_}ω{_}×{_}x{_}^2^.