aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Readers
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2020-07-02 09:03:56 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2020-07-02 09:03:56 -0700
commit804e8eeed2fbcd0b4a52ad908b8ccccf89563097 (patch)
treeaa2af71560c0895d47b61af739afaaababc48789 /src/Text/Pandoc/Readers
parent9afa192c3a401e43e591e2978561afccf6ab6b87 (diff)
downloadpandoc-804e8eeed2fbcd0b4a52ad908b8ccccf89563097.tar.gz
Revert "Ipnyb: allow lossless round-tripping of markdown cell content."
This reverts commit efbc2050315b60c8a753dee6255465f1083019ab.
Diffstat (limited to 'src/Text/Pandoc/Readers')
-rw-r--r--src/Text/Pandoc/Readers/Ipynb.hs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Text/Pandoc/Readers/Ipynb.hs b/src/Text/Pandoc/Readers/Ipynb.hs
index 056fa431c..a245bdad3 100644
--- a/src/Text/Pandoc/Readers/Ipynb.hs
+++ b/src/Text/Pandoc/Readers/Ipynb.hs
@@ -79,8 +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) : kvs
- return $ B.divWith ("",["cell","markdown"],kvs')
+ return $ B.divWith ("",["cell","markdown"],kvs)
$ B.fromList bs
Ipynb.Heading lev -> do
Pandoc _ bs <- readMarkdown opts