PDF: Fix svgIn path error.
We were duplicating the temp directory; this didn't show up on macOS or linux because there we use absolute paths for the temp directory. Closes #7431.
This commit is contained in:
parent
06408d08e5
commit
18270c7a39
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue