From 1f44fc9dfd3a0dac93fce6e8224ec150e3f4a5e6 Mon Sep 17 00:00:00 2001 From: Bruno Charest Date: Thu, 4 Jun 2026 19:18:32 -0400 Subject: [PATCH] fix: diff mode button uses ASCII-only text to avoid UTF-8 corruption --- frontend/js/backups.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/js/backups.js b/frontend/js/backups.js index 0a84e30..509e350 100644 --- a/frontend/js/backups.js +++ b/frontend/js/backups.js @@ -211,8 +211,8 @@ function renderMainView() { - @@ -267,7 +267,7 @@ function bindEvents() { const icon = modeBtn.querySelector('i'); if (icon) icon.setAttribute('data-lucide', state.diffMode === 'sidebyside' ? 'columns-2' : 'align-justify'); modeBtn.childNodes.forEach(n => { if (n.nodeType === 3) n.remove(); }); - modeBtn.appendChild(document.createTextNode(state.diffMode === 'sidebyside' ? ' Unifiée' : ' Côte à côte')); + modeBtn.appendChild(document.createTextNode(state.diffMode === 'sidebyside' ? ' Unifiee' : ' Cote-a-cote')); safeCreateIcons(); }); }