diff --git a/kallithea/lib/helpers.py b/kallithea/lib/helpers.py
--- a/kallithea/lib/helpers.py
+++ b/kallithea/lib/helpers.py
@@ -878,8 +878,9 @@ def gravatar(email_address, cls='', size
if src:
# here it makes sense to use style="width: ..." (instead of, say, a
# stylesheet) because we using this to generate a high-res (retina) size
- html = ('
'
- .format(cls=cls, size=size, src=src))
+ html = ('').format(cls=cls, size=size, src=src)
else:
# if src is empty then there was no gravatar, so we use a font icon
diff --git a/kallithea/public/css/contextbar.css b/kallithea/public/css/contextbar.css
--- a/kallithea/public/css/contextbar.css
+++ b/kallithea/public/css/contextbar.css
@@ -11,6 +11,7 @@ i[class^='icon-'] {
margin: -2px 0 -4px 0;
/* background-color: red; /* for debugging */
}
+/* Note: class 'icon-empty' can be used to get this styling without an actual glyph */
/* css classes for diff file status ... it'd be nice if css had a way to
inherit from another class but alas, we must make sure this content is the
diff --git a/kallithea/public/js/base.js b/kallithea/public/js/base.js
--- a/kallithea/public/js/base.js
+++ b/kallithea/public/js/base.js
@@ -1083,7 +1083,9 @@ var gravatar = function(gravatar_lnk, si
if (gravatar_lnk == 'default') {
return ''.format(size, cssclass);
}
- return '
'.format(size, gravatar_lnk, cssclass);
+ return ('').format(size, gravatar_lnk, cssclass);
}
var autocompleteGravatar = function(res, gravatar_lnk, size, group) {