From d28f752cfacf7bc22c34e17229f974537a67ec28 Mon Sep 17 00:00:00 2001 From: Stig Brautaset Date: Sun, 28 Feb 2016 09:16:00 +0000 Subject: Support sub- & superscript too, since it was very easy --- test/ox-jira-test.el | 2 ++ test/ox-jira-test.org | 2 ++ 2 files changed, 4 insertions(+) (limited to 'test') diff --git a/test/ox-jira-test.el b/test/ox-jira-test.el index 5aab8da..4b7757e 100644 --- a/test/ox-jira-test.el +++ b/test/ox-jira-test.el @@ -33,6 +33,8 @@ (should (equal "this is *strong* text\n" (org-export-string-as "this is *strong* text" 'jira))) (should (equal "this is _emphasised_ text\n" (org-export-string-as "this is /emphasised/ text" 'jira))) (should (equal "this is +underlined+ text\n" (org-export-string-as "this is _underlined_ text" 'jira))) + (should (equal "this is super^scripted^ text\n" (org-export-string-as "this is super^scripted text" 'jira))) + (should (equal "this is sub~scripted~ text\n" (org-export-string-as "this is sub_scripted text" 'jira))) (should (equal "this is -deleted- text\n" (org-export-string-as "this is +deleted+ text" 'jira))) (should (equal "this is {{inline code}}\n" (org-export-string-as "this is ~inline code~" 'jira))) (should (equal "this is {{verbatim}} text\n" (org-export-string-as "this is =verbatim= text" 'jira)))) diff --git a/test/ox-jira-test.org b/test/ox-jira-test.org index 75272d7..9cb8a6b 100644 --- a/test/ox-jira-test.org +++ b/test/ox-jira-test.org @@ -91,6 +91,8 @@ (should (equal "this is *strong* text\n" (org-export-string-as "this is *strong* text" 'jira))) (should (equal "this is _emphasised_ text\n" (org-export-string-as "this is /emphasised/ text" 'jira))) (should (equal "this is +underlined+ text\n" (org-export-string-as "this is _underlined_ text" 'jira))) + (should (equal "this is super^scripted^ text\n" (org-export-string-as "this is super^scripted text" 'jira))) + (should (equal "this is sub~scripted~ text\n" (org-export-string-as "this is sub_scripted text" 'jira))) (should (equal "this is -deleted- text\n" (org-export-string-as "this is +deleted+ text" 'jira))) (should (equal "this is {{inline code}}\n" (org-export-string-as "this is ~inline code~" 'jira))) (should (equal "this is {{verbatim}} text\n" (org-export-string-as "this is =verbatim= text" 'jira)))) -- cgit v1.2.3