aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2021-12-08 23:21:39 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2021-12-08 23:21:39 -0800
commit9cbea695c439dd04c9a670107ec729c503d5b368 (patch)
treec136a0fe0230dd43b6ede52c1684f9268b64e23b /src/Text/Pandoc
parent8215ca081df398c1acce7612bec4605a97e4e8d0 (diff)
downloadpandoc-9cbea695c439dd04c9a670107ec729c503d5b368.tar.gz
Ipynb writer: ensure deterministic order of keys.
Diffstat (limited to 'src/Text/Pandoc')
-rw-r--r--src/Text/Pandoc/Writers/Ipynb.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Writers/Ipynb.hs b/src/Text/Pandoc/Writers/Ipynb.hs
index b81771bb2..65299a4c9 100644
--- a/src/Text/Pandoc/Writers/Ipynb.hs
+++ b/src/Text/Pandoc/Writers/Ipynb.hs
@@ -51,7 +51,7 @@ writeIpynb opts d = do
"cell_type", "output_type",
"execution_count", "metadata",
"outputs", "source",
- "data", "name", "text" ] }
+ "data", "name", "text" ] <> compare }
$ notebook
pandocToNotebook :: PandocMonad m