@@ -247,7 +247,7 @@ escape = do
247-- \s-1 \s0
247-- \s-1 \s0
248escFontSize :: PandocMonad m => RoffLexer m [LinePart]
248escFontSize :: PandocMonad m => RoffLexer m [LinePart]
249escFontSize = do
249escFontSize = do
250− let sign = option "" $ ("-" <$ char '-' <|> "" <$ char '+')
250+ let sign = option "" ("-" <$ char '-' <|> "" <$ char '+')
251 let toFontSize xs =
251 let toFontSize xs =
252 case safeRead xs of
252 case safeRead xs of
253 Nothing -> mzero
253 Nothing -> mzero
@@ -420,10 +420,10 @@ tableFormatSpecLine =
420tableColFormat :: PandocMonad m => RoffLexer m CellFormat
420tableColFormat :: PandocMonad m => RoffLexer m CellFormat
421tableColFormat = do
421tableColFormat = do
422 pipePrefix' <- option False
422 pipePrefix' <- option False
423− $ True <$ (try $ string "|" <* notFollowedBy spacetab)
423+ $ True <$ try (string "|" <* notFollowedBy spacetab)
424 c <- oneOf ['a','A','c','C','l','L','n','N','r','R','s','S','^','_','-',
424 c <- oneOf ['a','A','c','C','l','L','n','N','r','R','s','S','^','_','-',
426− suffixes <- many $ (try $ skipMany spacetab *> count 1 digit) <|>
426+ suffixes <- many $ try (skipMany spacetab *> count 1 digit) <|>
427 (do x <- oneOf ['b','B','d','D','e','E','f','F','i','I','m','M',
427 (do x <- oneOf ['b','B','d','D','e','E','f','F','i','I','m','M',
428 'p','P','t','T','u','U','v','V','w','W','x','X', 'z','Z']
428 'p','P','t','T','u','U','v','V','w','W','x','X', 'z','Z']
429 num <- case toLower x of
429 num <- case toLower x of
@@ -441,7 +441,7 @@ tableColFormat = do
441 , pipePrefix = pipePrefix'
441 , pipePrefix = pipePrefix'
442 , pipeSuffix = pipeSuffix'
442 , pipeSuffix = pipeSuffix'
443 , columnSuffixes = suffixes }
443 , columnSuffixes = suffixes }
445-- We don't fully handle the conditional. But we do
445-- We don't fully handle the conditional. But we do
446-- include everything under '.ie n', which occurs commonly
446-- include everything under '.ie n', which occurs commonly
447-- in man pages. We always skip the '.el' part.
447-- in man pages. We always skip the '.el' part.