From: Jakub Narebski Date: Sun, 30 Jul 2006 15:47:22 +0000 (+0200) Subject: gitweb: Show project descriptions with utf-8 characters in project list correctly X-Git-Tag: v1.4.3-rc1~274^2~43 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7d91010df4d8c3d6f38734dc37cf7013a490670e;p=git.git gitweb: Show project descriptions with utf-8 characters in project list correctly Signed-off-by: Jakub Narebski Signed-off-by: Junio C Hamano --- diff --git a/gitweb/gitweb.cgi b/gitweb/gitweb.cgi index 79275f38d..673db1f63 100755 --- a/gitweb/gitweb.cgi +++ b/gitweb/gitweb.cgi @@ -958,7 +958,7 @@ sub git_project_list { } $alternate ^= 1; print "" . $cgi->a({-href => "$my_uri?" . esc_param("p=$pr->{'path'};a=summary"), -class => "list"}, esc_html($pr->{'path'})) . "\n" . - "$pr->{'descr'}\n" . + "" . esc_html($pr->{'descr'}) . "\n" . "" . chop_str($pr->{'owner'}, 15) . "\n"; print "{'commit'}{'age'}) . "\">" . $pr->{'commit'}{'age_string'} . "\n" . "" .