aboutsummaryrefslogtreecommitdiff
path: root/test/Tests
diff options
context:
space:
mode:
authorAlexander Krotov <ilabdsf@gmail.com>2018-03-28 13:17:04 +0300
committerAlexander Krotov <ilabdsf@gmail.com>2018-03-28 13:19:39 +0300
commitb379a2903a07fc6a7389d1fed40565b3551fecc5 (patch)
tree76173ddee30e2b62a2148cb0cfc12b32d54099fd /test/Tests
parentc24ecf9cd92b5e6f672c8bdfd28da66743b49ce0 (diff)
downloadpandoc-b379a2903a07fc6a7389d1fed40565b3551fecc5.tar.gz
Muse writer: escape semicolons and markers after line break
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 1412739cb..c1bec1ba2 100644
--- a/test/Tests/Writers/Muse.hs
+++ b/test/Tests/Writers/Muse.hs
@@ -323,6 +323,7 @@ tests = [ testGroup "block elements"
]
, "escape ; to avoid accidental comments" =: text "; foo" =?> "<verbatim></verbatim>; foo"
, "escape ; after softbreak" =: text "foo" <> softbreak <> text "; bar" =?> "foo\n<verbatim></verbatim>; bar"
+ , "escape ; after linebreak" =: text "foo" <> linebreak <> text "; bar" =?> "foo<br>\n<verbatim></verbatim>; bar"
]
, testGroup "emphasis"
[ "emph" =: emph (text "foo") =?> "<em>foo</em>"