summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2009-06-16 15:07:58 -0400
committerJoey Hess <joey@gnu.kitenet.net>2009-06-16 15:07:58 -0400
commitb9ba68208ebdb250dc4d4f8866cb834f5bd8764c (patch)
tree174da8b3107f9c82c76020ae8b889e5601f52a53
parent3aa4eba5e6d8aa45a06558efe3a8272b6c2cf6a1 (diff)
parenta648c439f3467571374daf597e9b3a659ea2008f (diff)
Merge commit 'smcv/img-bugfix'
-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}.'"' : '').