@@ -387,7 +387,7 @@ table = try $ do
388 rawcapt <- trim <$> anyLine
388 rawcapt <- trim <$> anyLine
389 parseFromString' (mconcat <$> many inline) rawcapt
389 parseFromString' (mconcat <$> many inline) rawcapt
390− rawrows <- many1 $ (skipMany ignorableRow) >> tableRow
390+ rawrows <- many1 $ skipMany ignorableRow >> tableRow
391 skipMany ignorableRow
391 skipMany ignorableRow
392 blanklines
392 blanklines
393 let (headers, rows) = case rawrows of
393 let (headers, rows) = case rawrows of
@@ -438,8 +438,7 @@ maybeExplicitBlock name blk = try $ do
439-- | Any inline element
439-- | Any inline element
440inline :: PandocMonad m => ParserT [Char] ParserState m Inlines
440inline :: PandocMonad m => ParserT [Char] ParserState m Inlines
442− choice inlineParsers <?> "inline"
441+inline = choice inlineParsers <?> "inline"
444-- | Inline parsers tried in order
443-- | Inline parsers tried in order
445inlineParsers :: PandocMonad m => [ParserT [Char] ParserState m Inlines]
444inlineParsers :: PandocMonad m => [ParserT [Char] ParserState m Inlines]
@@ -610,7 +609,7 @@ escapedInline = escapedEqs <|> escapedTag
611escapedEqs :: PandocMonad m => ParserT [Char] ParserState m Inlines
610escapedEqs :: PandocMonad m => ParserT [Char] ParserState m Inlines
612escapedEqs = B.str <$>
611escapedEqs = B.str <$>
613− (try $ string "==" *> manyTill anyChar' (try $ string "=="))
612+ try (string "==" *> manyTill anyChar' (try $ string "=="))
615-- | literal text escaped btw <notextile> tags
614-- | literal text escaped btw <notextile> tags
616escapedTag :: PandocMonad m => ParserT [Char] ParserState m Inlines
615escapedTag :: PandocMonad m => ParserT [Char] ParserState m Inlines
@@ -643,7 +642,7 @@ code2 = do
644-- | Html / CSS attributes
643-- | Html / CSS attributes
645attributes :: PandocMonad m => ParserT [Char] ParserState m Attr
644attributes :: PandocMonad m => ParserT [Char] ParserState m Attr
646−attributes = (foldl (flip ($)) ("",[],[])) <$>
645+attributes = foldl (flip ($)) ("",[],[]) <$>
647 try (do special <- option id specialAttribute
646 try (do special <- option id specialAttribute
648 attrs <- many attribute
647 attrs <- many attribute
649 return (special : attrs))
648 return (special : attrs))