@@ -274,7 +274,7 @@ ignoreUntil :: IParser a -> IParser (Maybe a)
274ignoreUntil end = go
274ignoreUntil end = go
276 ignore p = const () <$> p
276 ignore p = const () <$> p
277− filler = choice [ ignore str
277+ filler = choice [ try (ignore chr) <|> ignore str
278 , ignore multiComment
278 , ignore multiComment
279 , ignore (markdown (\_ _ -> mzero))
279 , ignore (markdown (\_ _ -> mzero))
280 , ignore anyChar
280 , ignore anyChar
@@ -337,3 +337,7 @@ str = choice [ quote >> dewindows <$> manyTill (backslashed <|> anyChar) quote
337 ('\n':rest) -> '\n' : dewindows rest
337 ('\n':rest) -> '\n' : dewindows rest
338 ('\r':rest) -> '\n' : dewindows rest
338 ('\r':rest) -> '\n' : dewindows rest
342+chr = betwixt '\'' '\'' (backslashed <|> satisfy (/='\''))