img plugin: do not emit a redundant double-quote before alt attribute

master
Simon McVittie 2009-06-16 17:15:06 +01:00
parent e94289e9e4
commit a648c439f3
1 changed files with 1 additions and 1 deletions

View File

@ -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}.'"' : '').