From e31cb975a70c43f22b2fff5d11a7ee64820c8115 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 7 Jan 2010 15:41:16 -0500 Subject: img: remove special case handling of link=yes Only exists as an undocumented backwards compatability hack. --- IkiWiki/Plugin/img.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'IkiWiki/Plugin') 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+:\/\//) { -- cgit v1.2.3