diff options
-rw-r--r-- | src/Text/Pandoc/Writers/Jira.hs | 2 | ||||
-rw-r--r-- | test/writer.jira | 5 |
2 files changed, 1 insertions, 6 deletions
diff --git a/src/Text/Pandoc/Writers/Jira.hs b/src/Text/Pandoc/Writers/Jira.hs index 79f63e229..b610dd8bf 100644 --- a/src/Text/Pandoc/Writers/Jira.hs +++ b/src/Text/Pandoc/Writers/Jira.hs @@ -152,7 +152,7 @@ blockToJira _ (CodeBlock attr@(_,classes,_) str) = do blockToJira opts (BlockQuote [p@(Para _)]) = do contents <- blockToJira opts p - appendNewlineUnlessInList ("bq. " <> contents) + return ("bq. " <> contents) blockToJira opts (BlockQuote blocks) = do contents <- blockListToJira opts blocks diff --git a/test/writer.jira b/test/writer.jira index 16e1fcab8..e3068251c 100644 --- a/test/writer.jira +++ b/test/writer.jira @@ -45,7 +45,6 @@ E‐mail style: bq. This is a block quote. It is pretty short. - {quote} Code in a block quote: @@ -64,10 +63,8 @@ Nested block quotes: bq. nested - bq. nested - {quote} This should not be a block quote: 2 > 1. @@ -576,7 +573,6 @@ 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/>}} {code} @@ -601,7 +597,6 @@ Here is a footnote reference,[1] and another.[2] This should _not_ be a footnote bq. Notes can go in quotes.[4] - # And in list items.[5] This paragraph should not be part of the note, as it is not indented. |