diff options
| -rw-r--r-- | ox-jira.el | 6 | ||||
| -rw-r--r-- | ox-jira.org | 6 | ||||
| -rw-r--r-- | test/ox-jira-test.el | 4 | ||||
| -rw-r--r-- | test/ox-jira-test.org | 4 |
4 files changed, 10 insertions, 10 deletions
@@ -144,9 +144,9 @@ contextual information." (let* ((parent (org-element-property :parent item)) (list-type (org-element-property :type parent)) (checkbox (case (org-element-property :checkbox item) - (on "{{[X]}} ") - (off "{{[ ]}} ") - (trans "{{[-]}} ")))) + (on "(/) ") + (off "(x) ") + (trans "(i) ")))) (concat (if (eq list-type 'ordered) "#" "*") " " diff --git a/ox-jira.org b/ox-jira.org index cc2fca3..7355af6 100644 --- a/ox-jira.org +++ b/ox-jira.org @@ -291,9 +291,9 @@ (let* ((parent (org-element-property :parent item)) (list-type (org-element-property :type parent)) (checkbox (case (org-element-property :checkbox item) - (on "{{[X]}} ") - (off "{{[ ]}} ") - (trans "{{[-]}} ")))) + (on "(/) ") + (off "(x) ") + (trans "(i) ")))) (concat (if (eq list-type 'ordered) "#" "*") " " diff --git a/test/ox-jira-test.el b/test/ox-jira-test.el index 6c862da..8016bce 100644 --- a/test/ox-jira-test.el +++ b/test/ox-jira-test.el @@ -104,8 +104,8 @@ fum" 'jira)))) 3. fum" 'jira)))) (ert-deftest ox-jira-test/unordered-list-with-checkboxes() - (should (equal "* {{[ ]}} fi -* {{[X]}} fo + (should (equal "* (x) fi +* (/) fo " (org-export-string-as "- [ ] fi - [X] fo" 'jira)))) diff --git a/test/ox-jira-test.org b/test/ox-jira-test.org index 2cb6809..c02e2e3 100644 --- a/test/ox-jira-test.org +++ b/test/ox-jira-test.org @@ -201,8 +201,8 @@ #+BEGIN_SRC emacs-lisp (ert-deftest ox-jira-test/unordered-list-with-checkboxes() - (should (equal "* {{[ ]}} fi - ,* {{[X]}} fo + (should (equal "* (x) fi + ,* (/) fo " (org-export-string-as "- [ ] fi - [X] fo" 'jira)))) #+END_SRC |
