gitweb: pull ref markes pull out of subject <a> element
[gitweb.git] / gitweb / gitweb.perl
index be7358fdebfc29cd1ef52bbf2eb1f7cffb6e0daa..36cf4a216a45c373f35fb185b41f98074a13fa4b 100755 (executable)
@@ -1513,10 +1513,10 @@ sub format_subject_html {
                $long =~ s/[[:cntrl:]]/?/g;
                return $cgi->a({-href => $href, -class => "list subject",
                                -title => to_utf8($long)},
-                      esc_html($short) . $extra);
+                      esc_html($short)) . $extra;
        } else {
                return $cgi->a({-href => $href, -class => "list subject"},
-                      esc_html($long)  . $extra);
+                      esc_html($long)) . $extra;
        }
 }