mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-24 15:44:59 +08:00
@@ -157,7 +157,7 @@ handleData metadata (MimeBundle mb) =
|
||||
|
||||
dataBlock :: PandocMonad m => (MimeType, MimeData) -> m B.Blocks
|
||||
dataBlock (mt, d)
|
||||
| "image/" `T.isPrefixOf` mt
|
||||
| "image/" `T.isPrefixOf` mt || mt == "application/pdf"
|
||||
= do
|
||||
-- normally metadata maps from mime types to key-value map;
|
||||
-- but not always...
|
||||
|
||||
Reference in New Issue
Block a user