git.iko.soy/typeable/pandoc
on master help sign in
ipynb reader: remove sensitivity to `raw_html`, `raw_tex` extensions.

We now include every output format. Pruning is handled by `--ipynb-output=`.

commit2476d5f28407b784f977a257dc394d21394e61c6 authorJohn MacFarlane <jgm@berkeley.edu> dateSat 9 Mar 2019, 16:52 (8 years ago) parent00ec47b
1 file changed+2−6
src/Text/Pandoc/Readers/Ipynb.hs+2−6
src/Text/Pandoc/Readers/Ipynb.hs+2−6
@@ -184,14 +184,10 @@ handleData opts metadata (MimeBundle mb) =
184184 | otherwise = return mempty
185185
186186 dataBlock ("text/html", TextualData t)
187− | extensionEnabled Ext_raw_html exts
188− = return $ B.rawBlock "html" $ T.unpack t
189− | otherwise = return mempty
187+ = return $ B.rawBlock "html" $ T.unpack t
190188
191189 dataBlock ("text/latex", TextualData t)
192− | extensionEnabled Ext_raw_tex exts
193− = return $ B.rawBlock "latex" $ T.unpack t
194− | otherwise = return mempty
190+ = return $ B.rawBlock "latex" $ T.unpack t
195191
196192 dataBlock ("text/plain", TextualData t) =
197193 return $ B.codeBlock $ T.unpack t