Skip to content

Commit 5085d90

Browse files
committed
Use simpleFigureWith in Ipynb reader
1 parent 3fe014f commit 5085d90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Text/Pandoc/Readers/Ipynb.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ handleData metadata (MimeBundle mb) =
184184
Nothing -> ""
185185
Just ext -> "." <> ext
186186
insertMedia (T.unpack fname) (Just mt) bl
187-
return $ B.para $ B.imageWith ("",[],metaPairs) fname "" mempty
187+
return $ B.simpleFigureWith ("", [], metaPairs) [] fname ""
188188

189189
dataBlock ("text/html", TextualData t)
190190
= return $ B.rawBlock "html" t

0 commit comments

Comments
 (0)