╭ changed ─────────────╮ │src/ui/Repo/Issues.zig│ ╰──────────────────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭──────────╮ │← previous│ ╰──────────╯ ╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │615 │ │616 +// the "a:" link to the issues list filtered to `tag` (raw; encoded here). │ │617 +fn tagLink(page_arena: *std.heap.ArenaAllocator, identity: []const u8, tag: []const u8) ![]const u8 { │ │618 + const encoded = try ui.urlEncodeRef(page_arena.allocator(), tag); │ │619 + const route = ui.RoutablePage.repoIssuesRoute(identity, encoded, "") orelse return error.RouteTooLong;│ │620 + const url = try route.urlAlloc(page_arena); │ │621 + return std.fmt.allocPrint(page_arena.allocator(), "a:{s}", .{url}); │ │622 +} │ │623 + │ ╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────╯