diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Main.hs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Main.hs b/src/Main.hs index 6d924847f..f985a9270 100644 --- a/src/Main.hs +++ b/src/Main.hs @@ -447,8 +447,9 @@ main = do let tabFilter _ [] = "" tabFilter _ ('\n':xs) = '\n':(tabFilter tabStop xs) - tabFilter _ ('\r':'\n':xs) = '\n':(tabFilter tabStop xs) -- remove DOS line endings + tabFilter _ ('\r':'\n':xs) = '\n':(tabFilter tabStop xs) + tabFilter _ ('\r':xs) = '\n':(tabFilter tabStop xs) tabFilter spsToNextStop ('\t':xs) = if preserveTabs then '\t':(tabFilter tabStop xs) |