From 4ca73ced8d6d30e19a488fd6e1686cfb564af5b3 Mon Sep 17 00:00:00 2001 From: Kpa-clawbot Date: Thu, 11 Jun 2026 08:07:37 +0000 Subject: [PATCH] fix(#1648 M3): don't escape sprite HTML in mobile channel avatar Mobile channel rows (renderChannelRowMobile) call avatarTextForChannel() which now returns either a 2-char text abbreviation or Phosphor sprite HTML (ph-lock / ph-key) for encrypted / user-added channels. The mobile renderer was unconditionally escapeHtml()-ing the result, so sprite HTML leaked into the avatar as visible escaped text on phone-width viewports. Detect 'starts with ' + '' + + '" aria-hidden="true">' + (isHtmlAbbr ? abbr : escapeHtml(abbr)) + '' + '
' + '
' + '' + escapeHtml(name) + '' +