diff options
author | John MacFarlane <jgm@berkeley.edu> | 2020-07-02 09:03:26 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2020-07-02 09:03:26 -0700 |
commit | 9afa192c3a401e43e591e2978561afccf6ab6b87 (patch) | |
tree | ca9942ab43d6f146cd1bcf960c7d13acf96fc897 /src/Text/Pandoc | |
parent | 2d009366cef2358ec2c99612ae2c73068841306c (diff) | |
download | pandoc-9afa192c3a401e43e591e2978561afccf6ab6b87.tar.gz |
Revert "Ipynb reader: fix duplication of 'source' attribute."
This reverts commit 2d009366cef2358ec2c99612ae2c73068841306c.
Diffstat (limited to 'src/Text/Pandoc')
-rw-r--r-- | src/Text/Pandoc/Readers/Ipynb.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Readers/Ipynb.hs b/src/Text/Pandoc/Readers/Ipynb.hs index 77e727d89..056fa431c 100644 --- a/src/Text/Pandoc/Readers/Ipynb.hs +++ b/src/Text/Pandoc/Readers/Ipynb.hs @@ -79,7 +79,7 @@ cellToBlocks opts lang c = do case cellType c of Ipynb.Markdown -> do Pandoc _ bs <- walk fixImage <$> readMarkdown opts source - let kvs' = ("source", source) : [(k,v) | (k,v) <- kvs, k /= "source"] + let kvs' = ("source", source) : kvs return $ B.divWith ("",["cell","markdown"],kvs') $ B.fromList bs Ipynb.Heading lev -> do |