]> sipb.mit.edu Git - ikiwiki.git/commitdiff
Merge commit 'smcv/img-bugfix'
authorJoey Hess <joey@gnu.kitenet.net>
Tue, 16 Jun 2009 19:07:58 +0000 (15:07 -0400)
committerJoey Hess <joey@gnu.kitenet.net>
Tue, 16 Jun 2009 19:07:58 +0000 (15:07 -0400)
IkiWiki/Plugin/img.pm

index a697fea198d1ba7c2b386a704b3971ff30894a7a..a186abdfce81f80ab8625d6c6b05872b34167c7c 100644 (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}.'"' : '').