diff options
author | Jakub Narebski <jnareb@gmail.com> | 2006-07-30 17:47:22 +0200 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-07-30 18:40:49 -0700 |
commit | 7d91010df4d8c3d6f38734dc37cf7013a490670e (patch) | |
tree | 30b9c76e2a92aa4127bd755a1d1e2418f69dc662 /gitweb | |
parent | 3dc1383290f9db3371a13ae8009ce4fcd5ffc93a (diff) | |
download | git-7d91010df4d8c3d6f38734dc37cf7013a490670e.tar.gz git-7d91010df4d8c3d6f38734dc37cf7013a490670e.tar.xz |
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>
Diffstat (limited to 'gitweb')
-rwxr-xr-x | gitweb/gitweb.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
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 "<td>" . $cgi->a({-href => "$my_uri?" . esc_param("p=$pr->{'path'};a=summary"), -class => "list"}, esc_html($pr->{'path'})) . "</td>\n" . - "<td>$pr->{'descr'}</td>\n" . + "<td>" . esc_html($pr->{'descr'}) . "</td>\n" . "<td><i>" . chop_str($pr->{'owner'}, 15) . "</i></td>\n"; print "<td class=\"". age_class($pr->{'commit'}{'age'}) . "\">" . $pr->{'commit'}{'age_string'} . "</td>\n" . "<td class=\"link\">" . |