summaryrefslogtreecommitdiffstats
path: root/lib/plugins
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2017-03-05 08:55:13 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2017-03-05 08:55:13 +0000
commit2503731d3c1fb07257aeefd8e42120014fca8529 (patch)
treed519a2f5164130790259ea8d0ff475341cc8cc46 /lib/plugins
parenta9a1f6205aca80c57c4be9b99dbf67aed733133c (diff)
downloadredmine-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.rb2
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