Photos
Blog
Projects
vanrenterghem.biz
projects
/
git.ikiwiki.info.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix further places where translated discussion case was assumed
[git.ikiwiki.info.git]
/
IkiWiki
/
Plugin
/
img.pm
diff --git
a/IkiWiki/Plugin/img.pm
b/IkiWiki/Plugin/img.pm
index d295b833b21b57ccfef5c5d985ae91281efb466b..a697fea198d1ba7c2b386a704b3971ff30894a7a 100644
(file)
--- a/
IkiWiki/Plugin/img.pm
+++ b/
IkiWiki/Plugin/img.pm
@@
-43,7
+43,7
@@
sub preprocess (@) {
return '';
}
-
push @{$links{$params{page}}}, $image
;
+
add_link($params{page}, $image)
;
# optimisation: detect scan mode, and avoid generating the image
if (! defined wantarray) {
return;