@@ -130,9 +130,7 @@ blockToDokuWiki opts (Para [Image attr txt (src,'f':'i':'g':':':tit)]) = do
130130 let opt = if null txt
131131 then ""
132132 else "|" ++ if null tit then capt else tit ++ capt
133− -- Relative links fail isURI and receive a colon
134− prefix = if isURI src then "" else ":"
135− return $ "{{" ++ prefix ++ src ++ imageDims opts attr ++ opt ++ "}}\n"
133+ return $ "{{" ++ src ++ imageDims opts attr ++ opt ++ "}}\n"
136134
137135blockToDokuWiki opts (Para inlines) = do
138136 indent <- asks stIndent
@@ -516,9 +514,7 @@ inlineToDokuWiki opts (Image attr alt (source, tit)) = do
516514 ("", []) -> ""
517515 ("", _ ) -> "|" ++ alt'
518516 (_ , _ ) -> "|" ++ tit
519− -- Relative links fail isURI and receive a colon
520− prefix = if isURI source then "" else ":"
521− return $ "{{" ++ prefix ++ source ++ imageDims opts attr ++ txt ++ "}}"
517+ return $ "{{" ++ source ++ imageDims opts attr ++ txt ++ "}}"
522518
523519inlineToDokuWiki opts (Note contents) = do
524520 contents' <- blockListToDokuWiki opts contents