From a98e2b7c42d6ac9062677bf6d76caa3cf854dd9c Mon Sep 17 00:00:00 2001 From: Alexander Krotov Date: Sun, 21 Oct 2018 20:19:29 +0300 Subject: Muse writer: use lightweight markup after tag --- test/Tests/Writers/Muse.hs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test') diff --git a/test/Tests/Writers/Muse.hs b/test/Tests/Writers/Muse.hs index f7287d57d..5a6d9c172 100644 --- a/test/Tests/Writers/Muse.hs +++ b/test/Tests/Writers/Muse.hs @@ -400,6 +400,9 @@ tests = [ testGroup "block elements" , "strong after emphasis" =: emph (text "foo") <> strong (text "bar") =?> "*foo*bar" , "strong emphasis after emphasis" =: emph (text "foo") <> strong (emph (text "bar")) =?> "*foo**bar*" , "strong in the end of emphasis" =: emph (text "foo" <> strong (text "bar")) =?> "*foobar*" + , "switch to lightweight markup after tag" =: + strong (str "foo") <> emph (str "bar") <> strong (str "baz") =?> + "**foo**bar**baz**" , "strikeout" =: strikeout (text "foo") =?> "foo" , "space at the beginning of emphasis" =: emph (text " foo") =?> " foo" , "space at the end of emphasis" =: emph (text "foo ") =?> "foo " -- cgit v1.2.3