Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/gitweb
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2009-06-30 02:00:54 +0400
committerJunio C Hamano <gitster@pobox.com>2009-06-30 22:06:37 +0400
commit7d25ef41c84850ec1405400efc95d78fa6523efc (patch)
tree2832bdefcb8dd5d94a42c9ef496952eb1277362f /gitweb
parent679a1a1d420616be1647bdf8b2e93f1f86c7bdae (diff)
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')
-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 "";