aboutsummaryrefslogtreecommitdiff
path: root/tests/Tests/Readers
diff options
context:
space:
mode:
authorAlbert Krewinkel <albert@zeitkraut.de>2016-05-11 18:27:32 +0200
committerAlbert Krewinkel <albert@zeitkraut.de>2016-05-11 19:13:43 +0200
commit76143de97ed64130e982507b43ca380c2bb25ca9 (patch)
tree5d467a548b95fd3ccfa0ef4f29375ba5547f97c2 /tests/Tests/Readers
parent7a0729ea093cbf78188f9ef4e5b7c0f9a6b82c9b (diff)
downloadpandoc-76143de97ed64130e982507b43ca380c2bb25ca9.tar.gz
Org reader: add support for sub/superscript export options
Org-mode allows to specify export settings via `#+OPTIONS` lines. Disabling simple sub- and superscripts is one of these export options, this options is now supported.
Diffstat (limited to 'tests/Tests/Readers')
-rw-r--r--tests/Tests/Readers/Org.hs6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/Tests/Readers/Org.hs b/tests/Tests/Readers/Org.hs
index 17682fb32..fa0c57f71 100644
--- a/tests/Tests/Readers/Org.hs
+++ b/tests/Tests/Readers/Org.hs
@@ -469,6 +469,12 @@ tests =
, "[[expl:foo][bar]]"
] =?>
(para (link "http://example.com/foo" "" "bar"))
+
+ , "Export option: Disable simple sub/superscript syntax" =:
+ unlines [ "#+OPTIONS: ^:nil"
+ , "a^b"
+ ] =?>
+ para "a^b"
]
, testGroup "Basic Blocks" $