git.iko.soy/typeable/pandoc
on master help sign in
Muse writer: use "" instead of [] for empty String
97f6833Alexander Krotov
src/Text/Pandoc/Writers/Muse.hs+1−1
@@ -435,7 +435,7 @@ isHorizontalRule s = length s >= 4 && all (== '-') s
435
435
436stringStartsWithSpace :: String -> Bool
436stringStartsWithSpace :: String -> Bool
437stringStartsWithSpace (x:_) = isSpace x
437stringStartsWithSpace (x:_) = isSpace x
438−stringStartsWithSpace [] = False
438+stringStartsWithSpace "" = False
439
439
440fixOrEscape :: Bool -> Inline -> Bool
440fixOrEscape :: Bool -> Inline -> Bool
441fixOrEscape sp (Str "-") = sp
441fixOrEscape sp (Str "-") = sp