summaryrefslogtreecommitdiff
path: root/IkiWiki
diff options
context:
space:
mode:
authorSimon McVittie <smcv@ http://smcv.pseudorandom.co.uk/>2009-06-16 17:15:06 +0100
committerSimon McVittie <smcv@ http://smcv.pseudorandom.co.uk/>2009-06-16 17:15:06 +0100
commita648c439f3467571374daf597e9b3a659ea2008f (patch)
treecbff11376e7e8df7fe21b7cc7bed211294334365 /IkiWiki
parente94289e9e4109e20e90a21fa6574f2156e502423 (diff)
img plugin: do not emit a redundant double-quote before alt attribute
Diffstat (limited to 'IkiWiki')
-rw-r--r--IkiWiki/Plugin/img.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/img.pm b/IkiWiki/Plugin/img.pm
index a697fea19..a186abdfc 100644
--- a/IkiWiki/Plugin/img.pm
+++ b/IkiWiki/Plugin/img.pm
@@ -121,7 +121,7 @@ sub preprocess (@) {
my $imgtag='<img src="'.$imgurl.
'" width="'.$im->Get("width").
'" height="'.$im->Get("height").'"'.
- (exists $params{alt} ? '" alt="'.$params{alt}.'"' : '').
+ (exists $params{alt} ? ' alt="'.$params{alt}.'"' : '').
(exists $params{title} ? ' title="'.$params{title}.'"' : '').
(exists $params{class} ? ' class="'.$params{class}.'"' : '').
(exists $params{id} ? ' id="'.$params{id}.'"' : '').