From 16039c43c6b82ebfe104272d43db3cd6d41c13fe Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Fri, 14 Aug 2026 09:45:42 -1000 Subject: Skip the owner link when a repo has no owner --- source/ui-repolist.c | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) (limited to 'source/ui-repolist.c') diff --git a/source/ui-repolist.c b/source/ui-repolist.c index e9e710e..a8b401f 100644 --- a/source/ui-repolist.c +++ b/source/ui-repolist.c @@ -237,13 +237,17 @@ static void print_repo_row(const char *currenturl, int sublevel) html(""); if (ctx.cfg.enable_index_owner) { html(""); - html(""); - html_txt(ctx.repo->owner); - html(""); + // A repo without an owner gets an empty cell, since a link + // with no text cannot be clicked or read out. + if (ctx.repo->owner && *ctx.repo->owner) { + html(""); + html_txt(ctx.repo->owner); + html(""); + } html(""); } html(""); -- cgit v2.8.0