diff options
author | Frederic Hemberger <mail@frederic-hemberger.de> | 2011-09-26 15:58:14 +0200 |
---|---|---|
committer | Frederic Hemberger <mail@frederic-hemberger.de> | 2011-09-26 15:58:14 +0200 |
commit | fdf6af1d25ddc991c96dc3b4df5f7e913adcd7ef (patch) | |
tree | 509fb1f26d31abde124c6cc66b7b4a6b2590e3cf | |
parent | ab62bb93558db7a422ee9c1b87e1b524b57dc5a4 (diff) | |
download | my_new_personal_website-fdf6af1d25ddc991c96dc3b4df5f7e913adcd7ef.tar.xz my_new_personal_website-fdf6af1d25ddc991c96dc3b4df5f7e913adcd7ef.zip |
Fixes img tag properties
-rw-r--r-- | plugins/image_tag.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/image_tag.rb b/plugins/image_tag.rb index 20595cb9..45670007 100644 --- a/plugins/image_tag.rb +++ b/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 |