summaryrefslogtreecommitdiff
path: root/filters/email-gravatar.py
diff options
context:
space:
mode:
authorChristian Hesse <mail@eworm.de>2014-01-15 12:39:54 +0000
committerJason A. Donenfeld <Jason@zx2c4.com>2014-01-15 13:43:02 +0000
commit8ae1d8b8fd0b097b10716d0d2d8acaadbd7a46f7 (patch)
treebb9bf7bf87e07f5d2a133d8448cc65f1a7b9b68b /filters/email-gravatar.py
parent5bda21faf4df44ba089ee745b72f0806115c322b (diff)
downloadcgit-8ae1d8b8fd0b097b10716d0d2d8acaadbd7a46f7.tar
cgit-8ae1d8b8fd0b097b10716d0d2d8acaadbd7a46f7.tar.gz
cgit-8ae1d8b8fd0b097b10716d0d2d8acaadbd7a46f7.zip
email-gravatar: fix html syntax issues
an attribute value specification must be an attribute value literal unless SHORTTAG YES is specified
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 88bc776..d70440e 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' width=13 height=13 alt='Gravatar' /> " + text)
+print("<img src='//www.gravatar.com/avatar/" + md5 + "?s=13&amp;d=retro' width='13' height='13' alt='Gravatar' /> " + text)