@@ -67,7 +67,6 @@ module Text.Pandoc.Shared (
6767 headerShift,
6868 stripEmptyParagraphs,
6969 onlySimpleTableCells,
70− onlySimpleCellBodies,
7170 isTightList,
7271 taskListItemFromAscii,
7372 taskListItemToAscii,
@@ -669,18 +668,8 @@ stripEmptyParagraphs = walk go
669668
670669-- | Detect if table rows contain only cells consisting of a single
671670-- paragraph that has no @LineBreak@.
672−
673−-- TODO: should this become aware of cell dimensions?
674−onlySimpleTableCells :: [Row] -> Bool
675−onlySimpleTableCells = onlySimpleCellBodies . map unRow
676− where
677− unRow (Row _ body) = map unCell body
678− unCell (Cell _ _ _ _ body) = body
679−
680−-- | Detect if unwrapped table rows contain only cells consisting of a
681−-- single paragraph that has no @LineBreak@.
682−onlySimpleCellBodies :: [[[Block]]] -> Bool
683−onlySimpleCellBodies = all isSimpleCell . concat
671+onlySimpleTableCells :: [[[Block]]] -> Bool
672+onlySimpleTableCells = all isSimpleCell . concat
684673 where
685674 isSimpleCell [Plain ils] = not (hasLineBreak ils)
686675 isSimpleCell [Para ils ] = not (hasLineBreak ils)