summaryrefslogtreecommitdiff
path: root/gitweb/gitweb.perl
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2009-06-29 22:00:54 (GMT)
committerJunio C Hamano <gitster@pobox.com>2009-06-30 18:06:37 (GMT)
commit7d25ef41c84850ec1405400efc95d78fa6523efc (patch)
tree2832bdefcb8dd5d94a42c9ef496952eb1277362f /gitweb/gitweb.perl
parent679a1a1d420616be1647bdf8b2e93f1f86c7bdae (diff)
downloadgit-7d25ef41c84850ec1405400efc95d78fa6523efc.zip
git-7d25ef41c84850ec1405400efc95d78fa6523efc.tar.gz
git-7d25ef41c84850ec1405400efc95d78fa6523efc.tar.bz2
gitweb: add empty alt text to avatar img
The empty alt text optimizes screen estate in text-only browsers. Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'gitweb/gitweb.perl')
-rwxr-xr-xgitweb/gitweb.perl1
1 files changed, 1 insertions, 0 deletions
diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl
index 862ea99..6a1b5b5 100755
--- a/gitweb/gitweb.perl
+++ b/gitweb/gitweb.perl
@@ -1574,6 +1574,7 @@ sub git_get_avatar {
"<img width=\"$size\" " .
"class=\"avatar\" " .
"src=\"$url\" " .
+ "alt=\"\" " .
"/>" . $post_white;
} else {
return "";