@@ -1366,7 +1366,9 @@ singleQuoteStart = do
1366 failIfInQuoteContext InSingleQuote
1366 failIfInQuoteContext InSingleQuote
1367 -- single quote start can't be right after str
1367 -- single quote start can't be right after str
1368 guard =<< notAfterString
1368 guard =<< notAfterString
1369− () <$ charOrRef "'\8216\145"
1370+ charOrRef "'\8216\145"
1371+ notFollowedBy (oneOf [' ', '\t', '\n'])
1371singleQuoteEnd :: Stream s m Char
1373singleQuoteEnd :: Stream s m Char
1372 => ParserT s st m ()
1374 => ParserT s st m ()
@@ -1379,7 +1381,7 @@ doubleQuoteStart :: (HasQuoteContext st m, Stream s m Char)
1379doubleQuoteStart = do
1381doubleQuoteStart = do
1380 failIfInQuoteContext InDoubleQuote
1382 failIfInQuoteContext InDoubleQuote
1381 try $ do charOrRef "\"\8220\147"
1383 try $ do charOrRef "\"\8220\147"
1382− notFollowedBy . satisfy $ flip elem [' ', '\t', '\n']
1384+ notFollowedBy (oneOf [' ', '\t', '\n'])
1384doubleQuoteEnd :: Stream s m Char
1386doubleQuoteEnd :: Stream s m Char
1385 => ParserT s st m ()
1387 => ParserT s st m ()