aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Shared.hs
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2021-10-12 20:08:35 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2021-10-12 21:00:15 -0700
commitc636b5dd1640c1f13f21bb2828c817213455229f (patch)
tree706d1139d395be30293bfb27d9ec8990e0836dd1 /src/Text/Pandoc/Shared.hs
parent6593f9638e7b53c2b5d738c27ff9dfccdbf2ce39 (diff)
downloadpandoc-c636b5dd1640c1f13f21bb2828c817213455229f.tar.gz
Revert "Depend on pandoc-types 1.23, remove Null constructor on Block."
This reverts commit fb0d6c7cb63a791fa72becf21ed493282e65ea91.
Diffstat (limited to 'src/Text/Pandoc/Shared.hs')
-rw-r--r--src/Text/Pandoc/Shared.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Text/Pandoc/Shared.hs b/src/Text/Pandoc/Shared.hs
index 6e1f29fb1..06fd052b9 100644
--- a/src/Text/Pandoc/Shared.hs
+++ b/src/Text/Pandoc/Shared.hs
@@ -920,6 +920,7 @@ blockToInlines (Table _ _ _ (TableHead _ hbd) bodies (TableFoot _ fbd)) =
unTableBody (TableBody _ _ hd bd) = hd <> bd
unTableBodies = concatMap unTableBody
blockToInlines (Div _ blks) = blocksToInlines' blks
+blockToInlines Null = mempty
blocksToInlinesWithSep :: Inlines -> [Block] -> Inlines
blocksToInlinesWithSep sep =