From 82b0c50dde7a8fa2133d36c3d23ea11893462932 Mon Sep 17 00:00:00 2001 From: Stig Brautaset Date: Thu, 25 Feb 2016 22:57:49 +0000 Subject: Remove soft linebreaks so paragraphs render properly in JIRA --- test/ox-jira-test.el | 7 +++++++ test/ox-jira-test.org | 12 ++++++++++++ 2 files changed, 19 insertions(+) (limited to 'test') diff --git a/test/ox-jira-test.el b/test/ox-jira-test.el index f3f8717..5e1b83f 100644 --- a/test/ox-jira-test.el +++ b/test/ox-jira-test.el @@ -1,3 +1,4 @@ + ;;; ox-jira-test.el --- tests for ox-jira.el ;;; Author: Stig Brautaset @@ -69,6 +70,12 @@ h3. third level ** second level *** third level" 'jira)))) +(ert-deftest ox-jira-test/paragraphs () + (should (equal "fi fo fa fum\n" (org-export-string-as "fi +,fo +,fa +,fum" 'jira)))) + (provide 'ox-jira-test) ;;; ox-jira.el-test.el ends here diff --git a/test/ox-jira-test.org b/test/ox-jira-test.org index a97d24e..1694a01 100644 --- a/test/ox-jira-test.org +++ b/test/ox-jira-test.org @@ -138,6 +138,18 @@ ,*** third level" 'jira)))) #+END_SRC +** Paragraphs + + Check that text in paragraphs does not have hard newlines. + + #+BEGIN_SRC emacs-lisp + (ert-deftest ox-jira-test/paragraphs () + (should (equal "fi fo fa fum\n" (org-export-string-as "fi + ,fo + ,fa + ,fum" 'jira)))) + #+END_SRC + ** Provide Announce that =ox-jira-test= is a feature of the current Emacs. -- cgit v1.2.3