From 55ce07ae739a149b71ddc751de67830dbf9f3f16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C5=91v=C3=A1g=C3=B3=2C=20Zolt=C3=A1n?= Date: Sat, 13 Apr 2013 22:18:04 +0200 Subject: [PATCH] Fix gravatar url generation --- lib/gollum/views/history.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/gollum/views/history.rb b/lib/gollum/views/history.rb index eaf671f1..ff486564 100644 --- a/lib/gollum/views/history.rb +++ b/lib/gollum/views/history.rb @@ -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, }