git.iko.soy/typeable/pandoc
on master help sign in
Revert "Ipynb reader: fix duplication of 'source' attribute."

This reverts commit 2d009366cef2358ec2c99612ae2c73068841306c.

commita1e00b668a49c972ebf57010ad48a142e07d3b5f authorJohn MacFarlane <jgm@berkeley.edu> dateThu 2 Jul 2020, 09:03 (6 years ago) parent2b54a5d
1 file changed+1−1
src/Text/Pandoc/Readers/Ipynb.hs+1−1
src/Text/Pandoc/Readers/Ipynb.hs+1−1
@@ -79,7 +79,7 @@ cellToBlocks opts lang c = do
7979 case cellType c of
8080 Ipynb.Markdown -> do
8181 Pandoc _ bs <- walk fixImage <$> readMarkdown opts source
82− let kvs' = ("source", source) : [(k,v) | (k,v) <- kvs, k /= "source"]
82+ let kvs' = ("source", source) : kvs
8383 return $ B.divWith ("",["cell","markdown"],kvs')
8484 $ B.fromList bs
8585 Ipynb.Heading lev -> do