img: use presence dependency when linking to a page
parent
1b6b1ee2d8
commit
c5e237c013
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue