diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl
index f43dabcfbb..d738c7465b 100755
--- a/gitweb/gitweb.perl
+++ b/gitweb/gitweb.perl
@@ -4547,7 +4547,8 @@ sub git_print_page_path {
print $cgi->a({-href => href(action=>"blob_plain", file_name=>$file_name,
hash_base=>$hb),
-title => $name}, esc_path($basename));
- print '
+ if (gitweb_check_feature('highlight')) {
+ print '
';
+ }
} elsif (defined $type && $type eq 'tree') {
print $cgi->a({-href => href(action=>"tree", file_name=>$file_name,
hash_base=>$hb),