From ace16e625f0a88c8081a708074b9acb4493afdad Mon Sep 17 00:00:00 2001 From: JohnBaumb <80135794+JohnBaumb@users.noreply.github.com> Date: Mon, 27 Apr 2026 15:12:55 -0700 Subject: [PATCH] fix: preserve HTML links in notification panel history entries --- webui/static/downloads.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webui/static/downloads.js b/webui/static/downloads.js index db6d3686..d48321b1 100644 --- a/webui/static/downloads.js +++ b/webui/static/downloads.js @@ -4845,7 +4845,7 @@ function showToastHtml(html, type = 'info', duration = 6000) { // Add to notification history (strip tags for plain text) const tmp = document.createElement('div'); tmp.innerHTML = html; const plainText = tmp.textContent || tmp.innerText || ''; - const entry = { id: Date.now() + Math.random(), message: plainText, type, helpSection: null, timestamp: Date.now(), read: false }; + const entry = { id: Date.now() + Math.random(), message: plainText, htmlMessage: html, type, helpSection: null, timestamp: Date.now(), read: false }; _notifState.history.unshift(entry); if (_notifState.history.length > _notifState.maxHistory) _notifState.history.pop(); _notifState.unreadCount++; @@ -4920,7 +4920,7 @@ function _openNotifPanel() { ${unreadDot}