diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2017-03-05 08:55:13 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2017-03-05 08:55:13 +0000 |
commit | 2503731d3c1fb07257aeefd8e42120014fca8529 (patch) | |
tree | d519a2f5164130790259ea8d0ff475341cc8cc46 /lib/plugins | |
parent | a9a1f6205aca80c57c4be9b99dbf67aed733133c (diff) | |
download | redmine-2503731d3c1fb07257aeefd8e42120014fca8529.tar.gz redmine-2503731d3c1fb07257aeefd8e42120014fca8529.zip |
Removes invalid attributes from gravatar img tag.
git-svn-id: http://svn.redmine.org/redmine/trunk@16372 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/plugins')
-rw-r--r-- | lib/plugins/gravatar/lib/gravatar.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/plugins/gravatar/lib/gravatar.rb b/lib/plugins/gravatar/lib/gravatar.rb index f614f0354..5d9cda340 100644 --- a/lib/plugins/gravatar/lib/gravatar.rb +++ b/lib/plugins/gravatar/lib/gravatar.rb @@ -56,7 +56,7 @@ module GravatarHelper # double the size for hires displays options[:srcset] = "#{gravatar_url(email, options.merge(size: options[:size].to_i * 2))} 2x" - image_tag src, options + image_tag src, options.except(:rating, :size, :default, :ssl) end # Returns the base Gravatar URL for the given email hash |