checkout-index: fix --temp relative path mangling
[gitweb.git] / gitweb / gitweb.perl
index 52108b925526764f78be017afc47003036469346..a9f57d6f9024b2c23d6a2a67d33d84638e3bfb07 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!"!;
                }