mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-24 15:44:59 +08:00
Muse writer: use "" instead of [] for empty String
This commit is contained in:
@@ -435,7 +435,7 @@ isHorizontalRule s = length s >= 4 && all (== '-') s
|
||||
|
||||
stringStartsWithSpace :: String -> Bool
|
||||
stringStartsWithSpace (x:_) = isSpace x
|
||||
stringStartsWithSpace [] = False
|
||||
stringStartsWithSpace "" = False
|
||||
|
||||
fixOrEscape :: Bool -> Inline -> Bool
|
||||
fixOrEscape sp (Str "-") = sp
|
||||
|
||||
Reference in New Issue
Block a user