From 85fbc6c4d0325b84830fb3f2411b714fde20a8d8 Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 27 Mar 2026 12:41:47 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20reveal=20mode=20broken=20+=20missing=20a?= =?UTF-8?q?wait=20+=20select=20rendering=20=E2=80=94=20v2.0.10?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bug 1 - Reveal mode not working (all browsers): sessionSubstitutions stored "ademo demo" (full name) as key, but buildRevealPairs looked up "ademo" and "demo" individually. No match, no reveal pairs, reveal did nothing. Fixed by also storing individual words from multi-word replacements so both "ademo demo" AND "ademo" AND "demo" are in the map. Bug 2 - Missing await on _handleDecryptedMeta (sync.js): Two call sites returned the Promise instead of the resolved value. Downstream code checking decResult.data got undefined. Added await. Bug 3 - Profile selector broken by safeHTML (popup.js): DOMParser.parseFromString wraps content in which mangles