diff options
author | Joey Hess <joey@gnu.kitenet.net> | 2010-01-07 15:41:16 -0500 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2010-01-07 15:41:16 -0500 |
commit | e31cb975a70c43f22b2fff5d11a7ee64820c8115 (patch) | |
tree | 89884b43a345b934dc7651cf241834d303b3c2d0 /IkiWiki | |
parent | 253b1a41c1fec81e536840decfc9ea1645a41782 (diff) |
img: remove special case handling of link=yes
Only exists as an undocumented backwards compatability hack.
Diffstat (limited to 'IkiWiki')
-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+:\/\//) { |