Jira writer: remove extraneous newline after single-line block quotes

See #5858
This commit is contained in:
Albert Krewinkel 2019-10-31 22:01:12 +01:00
parent 4f1224dc0b
commit 4e902b1d60
No known key found for this signature in database
GPG key ID: 388DC0B21F631124
2 changed files with 1 additions and 6 deletions

View file

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

View file

@ -45,7 +45,6 @@ E&hyphen;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 &gt; 1.
@ -576,7 +573,6 @@ An e&hyphen;mail address: [nobody&commat;nowhere.net|mailto:nobody@nowhere.net]
bq. Blockquoted: [http://example.com/|http://example.com/]
Auto&hyphen;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.