Permalink
Browse files

Strip whitespace as per gravatar instructions

  • Loading branch information...
ipmb committed Apr 18, 2012
1 parent 7e5e1e3 commit 5d5d600cb4c19677816519bc83101c06dd802936
Showing with 1 addition and 1 deletion.
  1. +1 −1 gravatar/templatetags/gravatar.py
@@ -38,7 +38,7 @@ def _get_user(user):
def _get_gravatar_id(email):
- return md5_constructor(email.lower()).hexdigest()
+ return md5_constructor(email.strip().lower()).hexdigest()
@register.simple_tag

0 comments on commit 5d5d600

Please sign in to comment.