Merge pull request #687 from DirtYiCE/gravatar-fix
Fix gravatar url generation
This commit is contained in:
@@ -20,7 +20,7 @@ module Precious
|
||||
:author => v.author.name.respond_to?(:force_encoding) ? v.author.name.force_encoding('UTF-8') : v.author.name,
|
||||
:message => v.message.respond_to?(:force_encoding) ? v.message.force_encoding('UTF-8') : v.message,
|
||||
:date => v.authored_date.strftime("%B %d, %Y"),
|
||||
:gravatar => Digest::MD5.hexdigest(v.author.email),
|
||||
:gravatar => Digest::MD5.hexdigest(v.author.email.strip.downcase),
|
||||
:identicon => self._identicon_code(v.author.email),
|
||||
:date_full=> v.authored_date,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user