aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Writers/Muse.hs
diff options
context:
space:
mode:
authorAlexander Krotov <ilabdsf@gmail.com>2019-02-18 15:53:19 +0300
committerAlexander Krotov <ilabdsf@gmail.com>2019-02-18 15:53:19 +0300
commit596f8fd06b56a4afe9497c727a522c2f287be7f3 (patch)
tree07d9c34fc79c216db94d86ed44df200abc8a2e64 /src/Text/Pandoc/Writers/Muse.hs
parentc4814ea965704ffb3bc7cf5e918a2fc342d401b3 (diff)
downloadpandoc-596f8fd06b56a4afe9497c727a522c2f287be7f3.tar.gz
hlint Muse
Diffstat (limited to 'src/Text/Pandoc/Writers/Muse.hs')
-rw-r--r--src/Text/Pandoc/Writers/Muse.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Text/Pandoc/Writers/Muse.hs b/src/Text/Pandoc/Writers/Muse.hs
index 2ceeaab37..7cdb25608 100644
--- a/src/Text/Pandoc/Writers/Muse.hs
+++ b/src/Text/Pandoc/Writers/Muse.hs
@@ -504,9 +504,9 @@ stringStartsWithSpace "" = False
fixOrEscape :: Bool -> Inline -> Bool
fixOrEscape sp (Str "-") = sp
fixOrEscape sp (Str s@('-':x:_)) = (sp && isSpace x) || isHorizontalRule s
-fixOrEscape sp (Str (";")) = not sp
+fixOrEscape sp (Str ";") = not sp
fixOrEscape sp (Str (';':x:_)) = not sp && isSpace x
-fixOrEscape _ (Str (">")) = True
+fixOrEscape _ (Str ">") = True
fixOrEscape _ (Str ('>':x:_)) = isSpace x
fixOrEscape sp (Str s) = (sp && (startsWithMarker isDigit s ||
startsWithMarker isAsciiLower s ||