diff options
-rw-r--r-- | src/Text/Pandoc/PDF.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/PDF.hs b/src/Text/Pandoc/PDF.hs index aae3f9806..c4e30af34 100644 --- a/src/Text/Pandoc/PDF.hs +++ b/src/Text/Pandoc/PDF.hs @@ -217,7 +217,7 @@ convertImage opts tmpdir fname = do where pngOut = normalise $ replaceDirectory (replaceExtension fname ".png") tmpdir pdfOut = normalise $ replaceDirectory (replaceExtension fname ".pdf") tmpdir - svgIn = normalise $ tmpdir </> fname + svgIn = normalise fname mime = getMimeType fname doNothing = return (Right fname) |