summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin
diff options
context:
space:
mode:
Diffstat (limited to 'IkiWiki/Plugin')
-rw-r--r--IkiWiki/Plugin/img.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/img.pm b/IkiWiki/Plugin/img.pm
index 14a32f635..9385f6417 100644
--- a/IkiWiki/Plugin/img.pm
+++ b/IkiWiki/Plugin/img.pm
@@ -108,7 +108,8 @@ sub preprocess (@) { #{{{
}
elsif (length bestlink($params{page}, $params{link})) {
return htmllink($params{page}, $params{destpage},
- $params{link}, linktext => $imgtag);
+ $params{link}, linktext => $imgtag,
+ noimageinline => 1);
}
else {
return $imgtag;