@@ -274,7 +274,7 @@ ignoreUntil :: IParser a -> IParser (Maybe a)
274274ignoreUntil end = go
275275 where
276276 ignore p = const () <$> p
277− filler = choice [ ignore str
277+ filler = choice [ try (ignore chr) <|> ignore str
278278 , ignore multiComment
279279 , ignore (markdown (\_ _ -> mzero))
280280 , ignore anyChar
@@ -337,3 +337,7 @@ str = choice [ quote >> dewindows <$> manyTill (backslashed <|> anyChar) quote
337337 ('\n':rest) -> '\n' : dewindows rest
338338 ('\r':rest) -> '\n' : dewindows rest
339339 _ -> []
340+
341+chr :: IParser Char
342+chr = betwixt '\'' '\'' (backslashed <|> satisfy (/='\''))
343+ <?> "character"