aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Writers/Powerpoint
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/Writers/Powerpoint
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/Writers/Powerpoint')
-rw-r--r--src/Text/Pandoc/Writers/Powerpoint/Presentation.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Text/Pandoc/Writers/Powerpoint/Presentation.hs b/src/Text/Pandoc/Writers/Powerpoint/Presentation.hs
index 99b016a63..fe34d24dc 100644
--- a/src/Text/Pandoc/Writers/Powerpoint/Presentation.hs
+++ b/src/Text/Pandoc/Writers/Powerpoint/Presentation.hs
@@ -1041,6 +1041,7 @@ blockIsBlank
HorizontalRule -> True
Table{} -> False
Div _ bls -> all blockIsBlank bls
+ Null -> True
textIsBlank :: T.Text -> Bool
textIsBlank = T.all isSpace