From e6cd031ea47c88303200702995da2ccc077b8e6c Mon Sep 17 00:00:00 2001 From: Tobias Gesellchen Date: Mon, 10 Aug 2026 22:27:14 +0200 Subject: [PATCH] fix(player): render literal x instead of HTML entity for dismiss button htm/Preact template literals insert text as a DOM text node rather than parsing it as HTML, so the × entity was never decoded and showed up literally in the player UI's announcement banner. The admin UI's equivalent button is unaffected because it's built as an HTML string inserted via innerHTML, where the browser does decode entities. Fixes the player-UI regression noted in #591. --- pkg/service/soundtouchweb/static/js/components/Announcements.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/service/soundtouchweb/static/js/components/Announcements.js b/pkg/service/soundtouchweb/static/js/components/Announcements.js index b6daa5d..9790573 100644 --- a/pkg/service/soundtouchweb/static/js/components/Announcements.js +++ b/pkg/service/soundtouchweb/static/js/components/Announcements.js @@ -39,7 +39,7 @@ export function Announcements() { ${a.message} ${a.link_url ? html` ${a.link_text || a.link_url}` : null} - + `)}