From: Joey Hess Date: Thu, 7 Jan 2010 20:12:17 +0000 (-0500) Subject: brace style X-Git-Tag: 3.20100122~53 X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/commitdiff_plain/e68cce6d1d51a513f54ab7d7e77e7c249aad3c06?ds=sidebyside brace style --- diff --git a/IkiWiki/Plugin/img.pm b/IkiWiki/Plugin/img.pm index 6f1919ea0..83f003629 100644 --- a/IkiWiki/Plugin/img.pm +++ b/IkiWiki/Plugin/img.pm @@ -162,14 +162,16 @@ sub preprocess (@) { if (! defined $params{link} || lc($params{link}) eq 'yes') { if (exists $params{caption} || !exists $params{align}) { $imgtag=''.$imgtag.''; - } else { + } + else { $imgtag=''.$imgtag.''; } } elsif ($params{link} =~ /^\w+:\/\//) { if (exists $params{caption} || !exists $params{align}) { $imgtag=''.$imgtag.''; - } else { + } + else { $imgtag=''.$imgtag.''; } }