summaryrefslogtreecommitdiff
path: root/test/Tests/Readers
diff options
context:
space:
mode:
authorAlexander <ilabdsf@gmail.com>2017-08-23 02:34:19 +0300
committerJohn MacFarlane <jgm@berkeley.edu>2017-08-22 16:34:18 -0700
commitc7d4fd8cf13adb905a8185a7d2fb359e06481184 (patch)
treeb5fdb81c58e75f44e7e5d2ba32e4c833491a76ab /test/Tests/Readers
parent41baaff32737e57dd9ec0a1153416ca24a12dca1 (diff)
Muse reader: do not allow closing tags with EOF (#3863)
This behavior is compatible to Amusewiki
Diffstat (limited to 'test/Tests/Readers')
-rw-r--r--test/Tests/Readers/Muse.hs6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Tests/Readers/Muse.hs b/test/Tests/Readers/Muse.hs
index 5a1a635c5..dac980c90 100644
--- a/test/Tests/Readers/Muse.hs
+++ b/test/Tests/Readers/Muse.hs
@@ -54,6 +54,12 @@ tests =
, "Strikeout tag" =: "<del>Strikeout</del>" =?> para (strikeout "Strikeout")
+ , "Opening inline tags" =: "foo <em> bar <strong>baz" =?> para "foo <em> bar <strong>baz"
+
+ , "Closing inline tags" =: "foo </em> bar </strong>baz" =?> para "foo </em> bar </strong>baz"
+
+ , "Tag soup" =: "foo <em> bar </strong>baz" =?> para "foo <em> bar </strong>baz"
+
, "Linebreak" =: "Line <br> break" =?> para ("Line" <> linebreak <> "break")
, "Code" =: "=foo(bar)=" =?> para (code "foo(bar)")