summaryrefslogtreecommitdiff
path: root/test/Tests
diff options
context:
space:
mode:
authorAlexander Krotov <ilabdsf@gmail.com>2018-03-02 01:39:16 +0300
committerAlexander Krotov <ilabdsf@gmail.com>2018-03-02 01:45:01 +0300
commit9dbd59a7c120eee9a0bbe292a05dd144987fa0a0 (patch)
tree243afc9c834e448fb9fd8196b249343721fb3bc6 /test/Tests
parent177c5120a5d13c7019d99a3b79d3cc0981a00214 (diff)
Muse writer: join strings during inline normalization
Diffstat (limited to 'test/Tests')
-rw-r--r--test/Tests/Writers/Muse.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/Tests/Writers/Muse.hs b/test/Tests/Writers/Muse.hs
index a5a6986f2..0b8a08258 100644
--- a/test/Tests/Writers/Muse.hs
+++ b/test/Tests/Writers/Muse.hs
@@ -297,6 +297,7 @@ tests = [ testGroup "block elements"
, "escape hash to avoid accidental anchors" =: text "#foo bar"
=?> "<verbatim>#foo</verbatim> bar"
, "escape definition list markers" =: str "::" =?> "<verbatim>::</verbatim>"
+ , "normalize strings before escaping" =: fromList [Str ":", Str ":"] =?> "<verbatim>::</verbatim>"
-- We don't want colons to be escaped if they can't be confused
-- with definition list item markers.
, "do not escape colon" =: str ":" =?> ":"