projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b6b1ee
)
img: use presence dependency when linking to a page
author
Joey Hess
<joey@gnu.kitenet.net>
Fri, 9 Oct 2009 17:37:06 +0000
(13:37 -0400)
committer
Joey Hess
<joey@gnu.kitenet.net>
Fri, 9 Oct 2009 17:37:06 +0000
(13:37 -0400)
IkiWiki/Plugin/img.pm
patch
|
blob
|
history
diff --git
a/IkiWiki/Plugin/img.pm
b/IkiWiki/Plugin/img.pm
index e2f541506c309cd4dcef8ad0290c6ffdd03703d1..32023fa97af8ba8e63192cacaff10a4677d20654 100644
(file)
--- a/
IkiWiki/Plugin/img.pm
+++ b/
IkiWiki/Plugin/img.pm
@@
-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);