Diff options
Diffstat (limited to 'source/ui-repolist.c')
| -rw-r--r-- | source/ui-repolist.c | 6 |
1 file changed, 4 insertions, 2 deletions
diff --git a/source/ui-repolist.c b/source/ui-repolist.c index 7e9c167..001e51b 100644 --- a/source/ui-repolist.c +++ b/source/ui-repolist.c @@ -224,11 +224,13 @@ static void print_repo_row(const char *currenturl, int sublevel) cgit_summary_link(ctx.repo->name, NULL, NULL, NULL); html("</td><td class='col-desc'>"); repourl = cgit_repourl(ctx.repo->url); - html_link_open(repourl, NULL, NULL); + html("<a href='"); + html_attr(repourl); + html("'>"); free(repourl); if (html_ntxt(ctx.repo->desc, ctx.cfg.max_repodesc_len) < 0) html("..."); - html_link_close(); + html("</a>"); html("</td>"); if (ctx.cfg.enable_index_owner) { html("<td class='col-owner'>"); |
