diff options
Diffstat (limited to 'src/Text/Pandoc/Writers/Ipynb.hs')
-rw-r--r-- | src/Text/Pandoc/Writers/Ipynb.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Writers/Ipynb.hs b/src/Text/Pandoc/Writers/Ipynb.hs index 38429f790..0a939de65 100644 --- a/src/Text/Pandoc/Writers/Ipynb.hs +++ b/src/Text/Pandoc/Writers/Ipynb.hs @@ -81,7 +81,7 @@ pandocToNotebook opts (Pandoc meta blocks) = do let jupyterMeta = case lookupMeta "jupyter" meta of Just (MetaMap m) -> (Meta m <> B.deleteMeta "jupyter" meta) - _ -> meta + _ -> mempty metadata' <- metaToJSON' blockWriter inlineWriter $ B.deleteMeta "nbformat" $ B.deleteMeta "nbformat_minor" $ jupyterMeta |