We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7db19d8 commit 11a2f78Copy full SHA for 11a2f78
src/Text/Pandoc/Class/PandocMonad.hs
@@ -467,6 +467,11 @@ fillMediaBag d = walkM handleImage d
467
return $ Image attr lab (src, tit))
468
(\e ->
469
case e of
470
+ PandocIOError text err -> do
471
+ report $ CouldNotFetchResource text . T.pack $
472
+ (show err ++ "\nReplacing image with description.")
473
+ -- emit alt text
474
+ return $ replacementSpan attr src tit lab
475
PandocResourceNotFound _ -> do
476
report $ CouldNotFetchResource src
477
"replacing image with description"
0 commit comments