From a0a41c7a8e4e385450c55459b9a01a59755766d2 Mon Sep 17 00:00:00 2001 From: Jan-Otto Kröpke Date: Thu, 8 Aug 2019 23:08:46 +0200 Subject: JIRA writer: Remove escapeStringForJira for code blocks --- test/writer.jira | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'test') diff --git a/test/writer.jira b/test/writer.jira index 7d9766c1e..16e1fcab8 100644 --- a/test/writer.jira +++ b/test/writer.jira @@ -50,8 +50,8 @@ bq. This is a block quote. It is pretty short. Code in a block quote: {code} -sub status \{ - print "working"; +sub status { + print "working"; } {code} @@ -81,10 +81,10 @@ h1. {anchor:code-blocks}Code Blocks Code: {code} -‐‐‐‐ (should be four hyphens) +---- (should be four hyphens) -sub status \{ - print "working"; +sub status { + print "working"; } this code block is indented by one tab @@ -95,7 +95,7 @@ And: {code} this code block is indented by two tabs -These should not be escaped: \$ \\ \> \[ \\{ +These should not be escaped: \$ \\ \> \[ \{ {code} ---- @@ -272,7 +272,7 @@ contains seeds, crisp, pleasant to taste * *_orange_* orange fruit {code} -\{ orange code block } +{ orange code block } {code} bq. orange block quote @@ -334,15 +334,15 @@ foo This should be a code block, though: {code} -<div> +
foo -</div> +
{code} As should this: {code} -<div>foo</div> +
foo
{code} Now, nested: @@ -358,7 +358,7 @@ Multiline: Code block: {code} -<!‐‐ Comment ‐‐> + {code} Just plain comment, with trailing spaces on the line: @@ -367,7 +367,7 @@ Just plain comment, with trailing spaces on the line: Code: {code} -<hr /> +
{code} Hr's: @@ -399,7 +399,7 @@ So is *_this_* word. So is *_this_* word. -This is code: {{>}}, {{$}}, {{\}}, {{\$}}, {{<html>}}. +This is code: {{>}}, {{$}}, {{\}}, {{\$}}, {{}}. -This is _strikeout_.- @@ -577,10 +577,10 @@ An e‐mail address: [nobody@nowhere.net|mailto:nobody@nowhere.net] bq. Blockquoted: [http://example.com/|http://example.com/] -Auto‐links should not occur here: {{<http://example.com/>}} +Auto‐links should not occur here: {{}} {code} -or here: <http://example.com/> +or here: {code} ---- @@ -615,7 +615,7 @@ This paragraph should not be part of the note, as it is not indented. Subsequent blocks are indented to show that they belong to the footnote (as with list items). {code} - \{ <code> } + { } {code} If you want, you can indent every line, but you can also be lazy and just indent the first line of each block. -- cgit v1.2.3