aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc
diff options
context:
space:
mode:
authorKolen Cheung <christian.kolen@gmail.com>2021-09-10 18:33:03 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2021-09-10 21:11:28 -0700
commit6aa1087b97466bd733e10c8e826c522e6acf874b (patch)
tree2abf1c9c55ce4c1bdd81daa7d50499ffdb0ee60f /src/Text/Pandoc
parent1dba1e6dc881e606beae6323e6cab74db5153bd0 (diff)
downloadpandoc-6aa1087b97466bd733e10c8e826c522e6acf874b.tar.gz
fix!: rst mime type
BREAKING CHANGE: fix rst mime type according to https://docutils.sourceforge.io/FAQ.html
Diffstat (limited to 'src/Text/Pandoc')
-rw-r--r--src/Text/Pandoc/Readers/Ipynb.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Readers/Ipynb.hs b/src/Text/Pandoc/Readers/Ipynb.hs
index 9d46111c3..dc2c61f56 100644
--- a/src/Text/Pandoc/Readers/Ipynb.hs
+++ b/src/Text/Pandoc/Readers/Ipynb.hs
@@ -101,7 +101,7 @@ cellToBlocks opts lang c = do
"text/latex" -> "latex"
"application/pdf" -> "latex"
"text/markdown" -> "markdown"
- "text/x-rsrt" -> "rst"
+ "text/x-rst" -> "rst"
_ -> format
return $ B.divWith ("",["cell","raw"],kvs) $ B.rawBlock format' source
Ipynb.Code{ codeOutputs = outputs, codeExecutionCount = ec } -> do