aboutsummaryrefslogtreecommitdiff
path: root/tests/Tests
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2014-06-16 22:03:26 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2014-06-16 22:03:26 -0700
commit78ee2416d105bd25337819a49835623a8a296224 (patch)
tree34a2377c965b9ad9cc4601e7a8e333b3b79ffd84 /tests/Tests
parentf9b97e6bfb1d26bd328cdbb1ca83c4558e7f4a0c (diff)
downloadpandoc-78ee2416d105bd25337819a49835623a8a296224.tar.gz
Org reader: make tildes create inline code.
Closes #1345. Also relabeled 'code' and 'verbatim' parsers to accord with the org-mode manual. I'm not sure what the distinction between code and verbatim is supposed to be, but I'm pretty sure both should be represented as Code inlines in pandoc. The previous behavior resulted in the text not appearing in any output format.
Diffstat (limited to 'tests/Tests')
-rw-r--r--tests/Tests/Readers/Org.hs6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/Tests/Readers/Org.hs b/tests/Tests/Readers/Org.hs
index 4ed77887f..f8240ca3d 100644
--- a/tests/Tests/Readers/Org.hs
+++ b/tests/Tests/Readers/Org.hs
@@ -50,13 +50,13 @@ tests =
"+Kill Bill+" =?>
para (strikeout . spcSep $ [ "Kill", "Bill" ])
- , "Code" =:
+ , "Verbatim" =:
"=Robot.rock()=" =?>
para (code "Robot.rock()")
- , "Verbatim" =:
+ , "Code" =:
"~word for word~" =?>
- para (rawInline "" "word for word")
+ para (code "word for word")
, "Math $..$" =:
"$E=mc^2$" =?>