@@ -161,7 +161,7 @@ import Text.HTML.TagSoup.Entity ( lookupEntity )
161161import Data.Default
162162import qualified Data.Set as Set
163163import Control.Monad.Reader
164−import Control.Applicative ((*>), (<*), liftA2)
164+import Control.Applicative ((*>), (<*), (<$), liftA2)
165165import Data.Monoid
166166
167167type Parser t s = Parsec t s
@@ -882,13 +882,7 @@ singleQuoteStart = do
882882 st <- getState
883883 -- single quote start can't be right after str
884884 guard $ stateLastStrPos st /= Just pos
885− try $ do charOrRef "'\8216\145"
886− notFollowedBy (oneOf ")!],;:-? \t\n")
887− notFollowedBy (char '.') <|> lookAhead (string "..." >> return ())
888− notFollowedBy (try (oneOfStrings ["s","t","m","ve","ll","re"] >>
889− satisfy (not . isAlphaNum)))
890− -- possess/contraction
891− return ()
885+ () <$ charOrRef "'\8216\145"
892886
893887singleQuoteEnd :: Parser [Char] st ()
894888singleQuoteEnd = try $ do