aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Readers
diff options
context:
space:
mode:
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