Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
gitweb: Show project descriptions with utf-8 characters in project list correctly
author
Jakub Narebski
<jnareb@gmail.com>
Sun, 30 Jul 2006 15:47:22 +0000
(17:47 +0200)
committer
Junio C Hamano
<junkio@cox.net>
Mon, 31 Jul 2006 01:40:49 +0000
(18:40 -0700)
Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
gitweb/gitweb.cgi
patch
|
blob
|
history
raw
|
patch
|
inline
| side by side (parent:
3dc1383
)
diff --git
a/gitweb/gitweb.cgi
b/gitweb/gitweb.cgi
index 79275f38d36f30754fbe0f37f92dc2549e279d20..673db1f6398f9e2d986cc9a4b8485ccfef0440c1 100755
(executable)
--- 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" .
}
$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\">" .
"<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\">" .