summaryrefslogtreecommitdiff
path: root/test/Tests
diff options
context:
space:
mode:
authorAlexander Krotov <ilabdsf@gmail.com>2018-01-29 12:54:43 +0300
committerAlexander Krotov <ilabdsf@gmail.com>2018-01-29 12:54:43 +0300
commitb7d8930dc097defcae754120a4fa0d6727c9b265 (patch)
tree9173865eaf26a6f80fef58bce7ca7205c9c7db89 /test/Tests
parent37271fabeee917c085c9ea7f04b8c847b524db4a (diff)
Muse writer: escape nonbreaking space ("~~")
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 51b811fa3..fda5c7c9e 100644
--- a/test/Tests/Writers/Muse.hs
+++ b/test/Tests/Writers/Muse.hs
@@ -251,6 +251,7 @@ tests = [ testGroup "block elements"
]
, "horizontal rule" =: horizontalRule =?> "----"
, "escape horizontal rule" =: para (text "----") =?> "<verbatim>----</verbatim>"
+ , "escape nonbreaking space" =: para (text "~~") =?> "<verbatim>~~</verbatim>"
, testGroup "tables"
[ "table without header" =:
let rows = [[para $ text "Para 1.1", para $ text "Para 1.2"]