aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Readers
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2014-08-11 11:28:11 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2014-08-11 11:28:11 -0700
commit95d9b43b425a57575c4c147a105cbe69d78854eb (patch)
tree78c03476c54ce3c46bd328ef4a2dee38743a351c /src/Text/Pandoc/Readers
parent6fae136cbb1ed28047e615217b5ce082875f5b19 (diff)
parent1952dd0592f9e2fa0a52f55af6b52b8dde6fc514 (diff)
downloadpandoc-95d9b43b425a57575c4c147a105cbe69d78854eb.tar.gz
Merge pull request #1519 from mpickering/more
EPUB Normalisation and anchors for div blocks in tex
Diffstat (limited to 'src/Text/Pandoc/Readers')
-rw-r--r--src/Text/Pandoc/Readers/EPUB.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Readers/EPUB.hs b/src/Text/Pandoc/Readers/EPUB.hs
index f900c0adc..d4eef3556 100644
--- a/src/Text/Pandoc/Readers/EPUB.hs
+++ b/src/Text/Pandoc/Readers/EPUB.hs
@@ -95,7 +95,7 @@ fetchImages mimes root arc (query iq -> links) =
(mapMaybe getEntry links)
where
getEntry link =
- let abslink = root </> link in
+ let abslink = normalise (root </> link) in
(link , lookup link mimes, ) . fromEntry
<$> findEntryByPath abslink arc