aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Readers
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2019-03-09 16:52:15 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2019-03-09 16:52:15 -0800
commit2476d5f28407b784f977a257dc394d21394e61c6 (patch)
tree148d969a41bda8a56984ca1e2cfbdbf3d44ac823 /src/Text/Pandoc/Readers
parent00ec47b3f9d69d9b98a9635643048299bb92e02d (diff)
downloadpandoc-2476d5f28407b784f977a257dc394d21394e61c6.tar.gz
ipynb reader: remove sensitivity to `raw_html`, `raw_tex` extensions.
We now include every output format. Pruning is handled by `--ipynb-output=`.
Diffstat (limited to 'src/Text/Pandoc/Readers')
-rw-r--r--src/Text/Pandoc/Readers/Ipynb.hs8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/Text/Pandoc/Readers/Ipynb.hs b/src/Text/Pandoc/Readers/Ipynb.hs
index 156e6bb8d..c029dfcfa 100644
--- a/src/Text/Pandoc/Readers/Ipynb.hs
+++ b/src/Text/Pandoc/Readers/Ipynb.hs
@@ -184,14 +184,10 @@ handleData opts metadata (MimeBundle mb) =
| otherwise = return mempty
dataBlock ("text/html", TextualData t)
- | extensionEnabled Ext_raw_html exts
- = return $ B.rawBlock "html" $ T.unpack t
- | otherwise = return mempty
+ = return $ B.rawBlock "html" $ T.unpack t
dataBlock ("text/latex", TextualData t)
- | extensionEnabled Ext_raw_tex exts
- = return $ B.rawBlock "latex" $ T.unpack t
- | otherwise = return mempty
+ = return $ B.rawBlock "latex" $ T.unpack t
dataBlock ("text/plain", TextualData t) =
return $ B.codeBlock $ T.unpack t