gitweb: Show project descriptions with utf-8 characters in project list correctly
Signed-off-by: Jakub Narebski <jnareb@gmail.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
Jakub Narebski committed
Jul 30, 2006 at 17:47 UTC
7d91010df4d8c3d6f38734dc37cf7013a490670e
1 file changed
+1
-1
gitweb/gitweb.cgi
+1
-1
@@ -958,7 +958,7 @@ sub git_project_list {
958
}
959
$alternate ^= 1;
960
print "<td>" . $cgi->a({-href => "$my_uri?" . esc_param("p=$pr->{'path'};a=summary"), -class => "list"}, esc_html($pr->{'path'})) . "</td>\n" .
961
- "<td>$pr->{'descr'}</td>\n" .
961
+ "<td>" . esc_html($pr->{'descr'}) . "</td>\n" .
962
"<td><i>" . chop_str($pr->{'owner'}, 15) . "</i></td>\n";
963
print "<td class=\"". age_class($pr->{'commit'}{'age'}) . "\">" . $pr->{'commit'}{'age_string'} . "</td>\n" .
964
"<td class=\"link\">" .