diff options
author | Simon McVittie <smcv@ http://smcv.pseudorandom.co.uk/> | 2009-06-16 17:15:06 +0100 |
---|---|---|
committer | Simon McVittie <smcv@ http://smcv.pseudorandom.co.uk/> | 2009-06-16 17:15:06 +0100 |
commit | a648c439f3467571374daf597e9b3a659ea2008f (patch) | |
tree | cbff11376e7e8df7fe21b7cc7bed211294334365 /IkiWiki | |
parent | e94289e9e4109e20e90a21fa6574f2156e502423 (diff) | |
download | ikiwiki-a648c439f3467571374daf597e9b3a659ea2008f.tar ikiwiki-a648c439f3467571374daf597e9b3a659ea2008f.tar.gz |
img plugin: do not emit a redundant double-quote before alt attribute
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 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}.'"' : ''). |