summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Giuseppe Bilotta <giuseppe.bilotta@gmail.com>2009-06-30 00:00:54 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2009-06-30 11:06:37 -0700
commit7d25ef41c84850ec1405400efc95d78fa6523efc (patch)
tree2832bdefcb8dd5d94a42c9ef496952eb1277362f
parentgitweb: picon avatar provider (diff)
downloadtgif-7d25ef41c84850ec1405400efc95d78fa6523efc.tar.xz
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>
-rwxr-xr-xgitweb/gitweb.perl1
1 files changed, 1 insertions, 0 deletions
diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl
index 862ea99f8a..6a1b5b5b49 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 "";