]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/img.pm
404: fix utf-8 encoding of REDIRECT_URL
[git.ikiwiki.info.git] / IkiWiki / Plugin / img.pm
index e2f541506c309cd4dcef8ad0290c6ffdd03703d1..32023fa97af8ba8e63192cacaff10a4677d20654 100644 (file)
@@ -170,7 +170,7 @@ sub preprocess (@) {
                my $b = bestlink($params{page}, $params{link});
        
                if (length $b) {
-                       add_depends($params{page}, $b);
+                       add_depends($params{page}, $b, deptype("presence"));
                        $imgtag=htmllink($params{page}, $params{destpage},
                                $params{link}, linktext => $imgtag,
                                noimageinline => 1);