From a5b386a2dfa7bdf37d849bf4bf179da8991f244c Mon Sep 17 00:00:00 2001 From: Stig Brautaset Date: Tue, 26 Apr 2016 12:40:34 +0100 Subject: Drop blank lines after code blocks in list items --- test/ox-jira-test.org | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'test') diff --git a/test/ox-jira-test.org b/test/ox-jira-test.org index 1778b80..aefb23a 100644 --- a/test/ox-jira-test.org +++ b/test/ox-jira-test.org @@ -261,6 +261,7 @@ fo 2. fa" 'jira))) + (should (equal "# fi #* fifi #* fofo @@ -275,6 +276,29 @@ 2. fa 3. fum" 'jira))) + + (should (equal "# fi + #* {code:sql}SELECT 1; + {code} + {code:sql}SELECT 2; + {code} + #* fofo + # fa + " (org-export-string-as "1. fi + + ,* + ,#+begin_src sql + SELECT 1; + ,#+end_src + + ,#+begin_src sql + SELECT 2; + ,#+end_src + + ,* fofo + + 2. fa + " 'jira))) ) #+END_SRC -- cgit v1.2.3