gitweb: Show project descriptions with utf-8 characters in project list correctly
[gitweb.git] / gitweb / gitweb.cgi
index 79275f38d36f30754fbe0f37f92dc2549e279d20..673db1f6398f9e2d986cc9a4b8485ccfef0440c1 100755 (executable)
@@ -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\">" .