aboutsummaryrefslogtreecommitdiff
path: root/tests/Tests
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2014-10-18 13:19:42 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2014-10-18 13:19:42 -0700
commit31713d572a606a487d36c4a4d673b9797cf4a0db (patch)
tree6c04eeb4c53b0551d64253dc3782f87e4c1f7833 /tests/Tests
parenta1b5997af499252cde722a6250657f21e960a50a (diff)
parentd571bec454e9f0822c2c71eeee2f8bfc6eb34c3c (diff)
downloadpandoc-31713d572a606a487d36c4a4d673b9797cf4a0db.tar.gz
Merge pull request #1700 from tarleb/org-emphasis-fix
Org reader: fix rules for emphasis recognition
Diffstat (limited to 'tests/Tests')
-rw-r--r--tests/Tests/Readers/Org.hs8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/Tests/Readers/Org.hs b/tests/Tests/Readers/Org.hs
index b37825ad5..f893e5aa2 100644
--- a/tests/Tests/Readers/Org.hs
+++ b/tests/Tests/Readers/Org.hs
@@ -126,6 +126,14 @@ tests =
, (emph "b") <> "."
])
+ , "Quotes are forbidden border chars" =:
+ "/'nope/ *nope\"*" =?>
+ para ("/'nope/" <> space <> "*nope\"*")
+
+ , "Commata are forbidden border chars" =:
+ "/nada,/" =?>
+ para "/nada,/"
+
, "Markup should work properly after a blank line" =:
unlines ["foo", "", "/bar/"] =?>
(para $ text "foo") <> (para $ emph $ text "bar")