@@ -773,7 +773,7 @@ simpleTableHeader headless = try $ do
773773 let (lengths, lines') = unzip dashes
774774 let indices = scanl (+) (length initSp) lines'
775775 -- If no header, calculate alignment on basis of first row of text
776− rawHeads <- liftM (tail . splitByIndices (init indices)) $
776+ rawHeads <- liftM (tail . splitStringByIndices (init indices)) $
777777 if headless
778778 then lookAhead anyLine
779779 else return rawContent
@@ -800,7 +800,7 @@ rawTableLine indices = do
800800 notFollowedBy' (blanklines <|> tableFooter)
801801 line <- many1Till anyChar newline
802802 return $ map removeLeadingTrailingSpace $ tail $
803− splitByIndices (init indices) line
803+ splitStringByIndices (init indices) line
804804
805805-- Parse a table line and return a list of lists of blocks (columns).
806806tableLine :: [Int]
@@ -862,9 +862,9 @@ multilineTableHeader headless = try $ do
862862 let indices = scanl (+) (length initSp) lines'
863863 rawHeadsList <- if headless
864864 then liftM (map (:[]) . tail .
865− splitByIndices (init indices)) $ lookAhead anyLine
865+ splitStringByIndices (init indices)) $ lookAhead anyLine
866866 else return $ transpose $ map
867− (\ln -> tail $ splitByIndices (init indices) ln)
867+ (\ln -> tail $ splitStringByIndices (init indices) ln)
868868 rawContent
869869 let aligns = zipWith alignType rawHeadsList lengths
870870 let rawHeads = if headless