Browse Source

Fixes img tag properties

unreleased_contents
Frederic Hemberger 13 years ago
parent
commit
fdf6af1d25
  1. 4
      plugins/image_tag.rb

4
plugins/image_tag.rb

@ -30,9 +30,9 @@ module Jekyll
@img['title'] = title
@img['alt'] = alt
else
@img['alt'] = @img['title'].gsub!(/"/, '"')
@img['alt'] = @img['title'].gsub!(/"/, '"') if @img['title']
end
@img['class'].gsub!(/"/, '')
@img['class'].gsub!(/"/, '') if @img['class']
end
super
end

Loading…
Cancel
Save