From b379a2903a07fc6a7389d1fed40565b3551fecc5 Mon Sep 17 00:00:00 2001 From: Alexander Krotov Date: Wed, 28 Mar 2018 13:17:04 +0300 Subject: Muse writer: escape semicolons and markers after line break --- test/Tests/Writers/Muse.hs | 1 + 1 file changed, 1 insertion(+) (limited to 'test/Tests/Writers/Muse.hs') 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" =?> "; foo" , "escape ; after softbreak" =: text "foo" <> softbreak <> text "; bar" =?> "foo\n; bar" + , "escape ; after linebreak" =: text "foo" <> linebreak <> text "; bar" =?> "foo
\n; bar" ] , testGroup "emphasis" [ "emph" =: emph (text "foo") =?> "foo" -- cgit v1.2.3