From 268c73c873b93daf3321d38d659be7849579c7f0 Mon Sep 17 00:00:00 2001 From: Alexander Krotov Date: Tue, 20 Mar 2018 11:24:19 +0300 Subject: Muse writer: escape ";" to avoid accidental comments --- src/Text/Pandoc/Writers/Muse.hs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/Text/Pandoc/Writers') diff --git a/src/Text/Pandoc/Writers/Muse.hs b/src/Text/Pandoc/Writers/Muse.hs index e72fcf52b..eb1821922 100644 --- a/src/Text/Pandoc/Writers/Muse.hs +++ b/src/Text/Pandoc/Writers/Muse.hs @@ -290,7 +290,8 @@ conditionalEscapeString s = "::" `isInfixOf` s || "----" `isInfixOf` s || "~~" `isInfixOf` s || - "-" == s + "-" == s || + ";" == s then escapeString s else s -- cgit v1.2.3