Merge branch 'nd/upload-pack-shallow'
[gitweb.git] / gitweb / gitweb.perl
index 3bc0f0b5ca0995910e0e517b545b5fb9af626a8b..79057b7d0e4f6c76a9d9853be14bbef60fa9c1c0 100755 (executable)
@@ -7094,7 +7094,7 @@ sub git_blob {
        git_print_page_path($file_name, "blob", $hash_base);
        print "<div class=\"page_body\">\n";
        if ($mimetype =~ m!^image/!) {
-               print qq!<img type="!.esc_attr($mimetype).qq!"!;
+               print qq!<img class="blob" type="!.esc_attr($mimetype).qq!"!;
                if ($file_name) {
                        print qq! alt="!.esc_attr($file_name).qq!" title="!.esc_attr($file_name).qq!"!;
                }