aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2022-10-24 14:34:40 -0700
committerJohn MacFarlane <[email protected]>2022-10-24 14:35:17 -0700
commitc73ebb8a0331f52f37a758854a40883be20fd031 (patch)
tree754f4f6e86bb325e86b35cdcd0156a3503049691
parent9496ce818bfc22cb8e823a04de8f5791fd84c8dd (diff)
ODT writer:
Revise commit 9496ce818bfc22cb8e823a04de8f5791fd84c8dd so it doesn't change image links. (These should have already been adjusted.) See #3524.
-rw-r--r--src/Text/Pandoc/Writers/ODT.hs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/Text/Pandoc/Writers/ODT.hs b/src/Text/Pandoc/Writers/ODT.hs
index 064d48672..e3f839dd5 100644
--- a/src/Text/Pandoc/Writers/ODT.hs
+++ b/src/Text/Pandoc/Writers/ODT.hs
@@ -74,8 +74,6 @@ fixInternalLinks = walk go
where
go (Link attr ils (src,tit)) =
Link attr ils (fixRel src,tit)
- go (Image attr ils (src,tit)) =
- Image attr ils (fixRel src,tit)
go x = x
fixRel uri =
case parseRelativeReference (T.unpack uri) of