@@ -591,14 +591,14 @@ rawTableLine indices = do
591-- Parse a table line and return a list of lists of blocks (columns).
591-- Parse a table line and return a list of lists of blocks (columns).
592tableLine indices = try $ do
592tableLine indices = try $ do
593 rawline <- rawTableLine indices
593 rawline <- rawTableLine indices
594− mapM (parseFromStr (many plain)) rawline
594+ mapM (parseFromString (many plain)) rawline
596-- Parse a multiline table row and return a list of blocks (columns).
596-- Parse a multiline table row and return a list of blocks (columns).
597multilineRow indices = try $ do
597multilineRow indices = try $ do
598 colLines <- many1 (rawTableLine indices)
598 colLines <- many1 (rawTableLine indices)
599 option "" blanklines
599 option "" blanklines
600 let cols = map unlines $ transpose colLines
600 let cols = map unlines $ transpose colLines
601− mapM (parseFromStr (many plain)) cols
601+ mapM (parseFromString (many plain)) cols
603-- Calculate relative widths of table columns, based on indices
603-- Calculate relative widths of table columns, based on indices
604widthsFromIndices :: Int -- Number of columns on terminal
604widthsFromIndices :: Int -- Number of columns on terminal
@@ -628,7 +628,7 @@ tableWith headerParser lineParser footerParser = try $ do
628 (rawHeads, aligns, indices) <- headerParser
628 (rawHeads, aligns, indices) <- headerParser
629 lines <- many1Till (lineParser indices) footerParser
629 lines <- many1Till (lineParser indices) footerParser
630 caption <- option [] tableCaption
630 caption <- option [] tableCaption
631− heads <- mapM (parseFromStr (many plain)) rawHeads
631+ heads <- mapM (parseFromString (many plain)) rawHeads
632 state <- getState
632 state <- getState
633 let numColumns = stateColumns state
633 let numColumns = stateColumns state
634 let widths = widthsFromIndices numColumns indices
634 let widths = widthsFromIndices numColumns indices