@@ -109,9 +109,7 @@ blockToZimWiki opts (Para [Image attr txt (src,'f':'i':'g':':':tit)]) = do
109109 let opt = if null txt
110110 then ""
111111 else "|" ++ if null tit then capt else tit ++ capt
112− -- Relative links fail isURI and receive a colon
113− prefix = if isURI src then "" else ":"
114− return $ "{{" ++ prefix ++ src ++ imageDims opts attr ++ opt ++ "}}\n"
112+ return $ "{{" ++ src ++ imageDims opts attr ++ opt ++ "}}\n"
115113
116114blockToZimWiki opts (Para inlines) = do
117115 indent <- gets stIndent
@@ -383,9 +381,7 @@ inlineToZimWiki opts (Image attr alt (source, tit)) = do
383381 ("", _, False ) -> "|" ++ alt'
384382 (_ , _, False ) -> "|" ++ tit
385383 (_ , _, True ) -> ""
386− -- Relative links fail isURI and receive a colon
387− prefix = if isURI source then "" else ":"
388− return $ "{{" ++ prefix ++ source ++ imageDims opts attr ++ txt ++ "}}"
384+ return $ "{{" ++ source ++ imageDims opts attr ++ txt ++ "}}"
389385
390386inlineToZimWiki opts (Note contents) = do
391387 -- no concept of notes in zim wiki, use a text block