aboutsummaryrefslogtreecommitdiffstats
path: root/filters/email-gravatar.py
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2014-01-14 18:57:36 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2014-01-14 18:57:51 +0100
commit5bda21faf4df44ba089ee745b72f0806115c322b (patch)
treeb936f0d0bc4b875c00ee413aac2e86df010f0d8a /filters/email-gravatar.py
parent6ca734da8fb246ad2272826331e0d56428b96fa1 (diff)
downloadcgit-5bda21faf4df44ba089ee745b72f0806115c322b.tar.gz
cgit-5bda21faf4df44ba089ee745b72f0806115c322b.tar.bz2
cgit-5bda21faf4df44ba089ee745b72f0806115c322b.zip
email-gravatar: do not scale icons up
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'filters/email-gravatar.py')
-rwxr-xr-xfilters/email-gravatar.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/filters/email-gravatar.py b/filters/email-gravatar.py
index 97f21cf..88bc776 100755
--- a/filters/email-gravatar.py
+++ b/filters/email-gravatar.py
@@ -36,4 +36,4 @@ sys.stdout = codecs.getwriter("utf-8")(sys.stdout.detach())
md5 = hashlib.md5(email.encode()).hexdigest()
text = sys.stdin.read().strip()
-print("<img src='//www.gravatar.com/avatar/" + md5 + "?s=13&amp;d=retro' style='height:10pt;width:10pt' alt='Gravatar' /> " + text)
+print("<img src='//www.gravatar.com/avatar/" + md5 + "?s=13&amp;d=retro' width=13 height=13 alt='Gravatar' /> " + text)