git.iko.soy/typeable/pandoc
on master help sign in
EPUB Reader: Fixed another normalisation problem..
72b1470Matthew Pickering
src/Text/Pandoc/Readers/EPUB.hs+1−1
@@ -95,7 +95,7 @@ fetchImages mimes root arc (query iq -> links) =
95 (mapMaybe getEntry links)
95 (mapMaybe getEntry links)
96 where
96 where
97 getEntry link =
97 getEntry link =
98− let abslink = root </> link in
98+ let abslink = normalise (root </> link) in
99 (link , lookup link mimes, ) . fromEntry
99 (link , lookup link mimes, ) . fromEntry
100 <$> findEntryByPath abslink arc
100 <$> findEntryByPath abslink arc
101
101