From 08226c518c343f8ea3ea703d1f6dc4e6c782347c Mon Sep 17 00:00:00 2001 From: Slowlife Date: Sun, 22 Feb 2026 21:52:22 +0700 Subject: [PATCH] fix: remove extra slash in github url, p=#12471, c=live-folders, tests --- src/zen/live-folders/providers/GithubLiveFolder.sys.mjs | 2 +- src/zen/tests/live-folders/browser_github_live_folder.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/zen/live-folders/providers/GithubLiveFolder.sys.mjs b/src/zen/live-folders/providers/GithubLiveFolder.sys.mjs index 1464a0299..f490f535f 100644 --- a/src/zen/live-folders/providers/GithubLiveFolder.sys.mjs +++ b/src/zen/live-folders/providers/GithubLiveFolder.sys.mjs @@ -69,7 +69,7 @@ export class nsGithubLiveFolderProvider extends nsZenLiveFolderProvider { title, subtitle: author, icon: "chrome://browser/content/zen-images/favicons/github.svg", - url: `https://github.com/${issueUrl}`, + url: "https://github.com" + issueUrl, id: `${repo}#${number}`, }); } diff --git a/src/zen/tests/live-folders/browser_github_live_folder.js b/src/zen/tests/live-folders/browser_github_live_folder.js index 5a66ee928..d318ad940 100644 --- a/src/zen/tests/live-folders/browser_github_live_folder.js +++ b/src/zen/tests/live-folders/browser_github_live_folder.js @@ -116,13 +116,13 @@ add_task(async function test_html_parsing_logic() {
mozilla/zen#101
UserA
Fix the login bug
- +
mozilla/zen#102
UserB
Add dark mode
- +