aboutsummaryrefslogtreecommitdiff
path: root/test/writer.jira
AgeCommit message (Collapse)AuthorFilesLines
2021-03-13Use jira-wiki-markup 1.3.4Albert Krewinkel1-2/+1
Jira reader: * Fixed parsing of autolinks (i.e., of bare URLs in the text). Previously an autolink would take up the rest of a line, as spaces were allowed characters in these items. * Emoji character sequences no longer cause parsing failures. This was due to missing backtracking when emoji parsing fails. Jira writer: * Block quotes are only rendered as `bq.` if they do not contain a linebreak.
2021-03-08Jira writer: use noformat instead of code for unknown languages.Albert Krewinkel1-33/+22
Code blocks that are not marked as a language supported by Jira are rendered as preformatted text with `{noformat}` blocks. Fixes: tarleb/jira-wiki-markup#4
2020-07-17Jira writer: keep image caption as alt attributeAlbert Krewinkel1-2/+2
Fixes #6529
2020-06-22Jira writer: always escape bracesAlbert Krewinkel1-1/+1
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
2020-04-04test/writer.jira: fix links, skip alias if it equals the targetAlbert Krewinkel1-4/+4
2020-03-31Jira writer tests: update image in test/writer.jiraAlbert Krewinkel1-1/+1
2019-12-20Jira writer: use jira-wiki-markup rendererAlbert Krewinkel1-123/+46
Pandoc's AST is translated into the Jira AST, which is then rendered by the dedicated Jira printer. The following improvements are included in this change: - non-jira raw blocks are fully discarded instead of showing as blank lines; - table cells can contain multiple blocks; - unnecessary blank lines are removed from the output; - markup chars within words are properly surrounded by braces; - preserving soft linebreaks via `--wrap=preserve` is supported. Note that backslashes are rendered as HTML entities, as there appears no alternative to produce a plain backslash if it is followed by markup. This may cause problems when used with confluence, where rendering seems to fail in this case. Closes: #5926
2019-11-22Jira writer: improve escaping of special chars (#5925)Albert Krewinkel1-47/+48
Backslash-escaping is used instead of HTML entities, as escaped characters are easier to read this way. Furthermore, Confluence, which seems to use a subset of Jira markup, seems to get confused by HTML entities.
2019-10-31Jira writer: remove extraneous newline after single-line block quotesAlbert Krewinkel1-5/+0
See #5858
2019-08-11JIRA writer: Remove escapeStringForJira for code blocksJan-Otto Kröpke1-16/+16
2019-06-05Add jira writer (#5548)Albert Krewinkel1-0/+630
This adds support for Atlassian's jira markup. Closes #2497