diff options
-rw-r--r-- | IkiWiki/Plugin/img.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/img.pm b/IkiWiki/Plugin/img.pm index 845a4bf36..083061bf6 100644 --- a/IkiWiki/Plugin/img.pm +++ b/IkiWiki/Plugin/img.pm @@ -162,7 +162,7 @@ sub preprocess (@) { my $alignclass=exists $params{align} ? "align-$params{align}" : ""; my $link; - if (! defined $params{link} || lc($params{link}) eq 'yes') { + if (! defined $params{link}) { $link=$fileurl; } elsif ($params{link} =~ /^\w+:\/\//) { |