X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/1f019ac2aaa2ba3ec06764f9e62679918cae435d..e713d077203856e8bab45de16570c5aaf0f8f2a7:/IkiWiki/Plugin/img.pm?ds=sidebyside diff --git a/IkiWiki/Plugin/img.pm b/IkiWiki/Plugin/img.pm index b554a3dfc..103f6b2b3 100644 --- a/IkiWiki/Plugin/img.pm +++ b/IkiWiki/Plugin/img.pm @@ -152,8 +152,8 @@ sub preprocess (@) { $imgurl=urlto($imglink, $params{destpage}); } else { - $fileurl=urlto($file, undef); - $imgurl=urlto($imglink, undef); + $fileurl=urlto($file); + $imgurl=urlto($imglink); } if (! exists $params{class}) {