diff options
author | despresc <christian.j.j.despres@gmail.com> | 2020-03-28 19:06:16 -0400 |
---|---|---|
committer | despresc <christian.j.j.despres@gmail.com> | 2020-04-15 23:03:22 -0400 |
commit | f8ce38975b547fe7fc8c12ccee3a940b35d8b9cf (patch) | |
tree | 5fa2b0067146fa26a2a9b01e4f645784cd4eedb1 /src/Text/Pandoc/Readers | |
parent | 7254a2ae0ba40b29c04b8924f27739614229432b (diff) | |
download | pandoc-f8ce38975b547fe7fc8c12ccee3a940b35d8b9cf.tar.gz |
Remove the onlySimpleCellBodies function from Shared
Diffstat (limited to 'src/Text/Pandoc/Readers')
-rw-r--r-- | src/Text/Pandoc/Readers/HTML.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Text/Pandoc/Readers/HTML.hs b/src/Text/Pandoc/Readers/HTML.hs index e3c3d00e6..8de9ebc19 100644 --- a/src/Text/Pandoc/Readers/HTML.hs +++ b/src/Text/Pandoc/Readers/HTML.hs @@ -61,7 +61,7 @@ import Text.Pandoc.Options ( import Text.Pandoc.Parsing hiding ((<|>)) import Text.Pandoc.Shared (addMetaField, blocksToInlines', crFilter, escapeURI, extractSpaces, htmlSpanLikeElements, elemText, splitTextBy, - onlySimpleCellBodies, safeRead, underlineSpan, tshow) + onlySimpleTableCells, safeRead, underlineSpan, tshow) import Text.Pandoc.Walk import Text.Parsec.Error import Text.TeXMath (readMathML, writeTeX) @@ -499,7 +499,7 @@ pTable = try $ do let rows''' = map (map snd) rows'' -- fail on empty table guard $ not $ null head' && null rows''' - let isSimple = onlySimpleCellBodies $ fmap B.toList <$> head':rows''' + let isSimple = onlySimpleTableCells $ fmap B.toList <$> head':rows''' let cols = if null head' then maximum (map length rows''') else length head' |