diff --git a/apps/activities/_day.html b/apps/activities/_day.html index c23ea53fc..55dd3a90d 100644 --- a/apps/activities/_day.html +++ b/apps/activities/_day.html @@ -504,10 +504,10 @@ button.activity-detail-back { - diff --git a/apps/settings/workspace.html b/apps/settings/workspace.html index 82643bf1b..f6eb7ce3a 100644 --- a/apps/settings/workspace.html +++ b/apps/settings/workspace.html @@ -2964,6 +2964,7 @@ const saveTimeouts = new Map(); let logNextCursor = null; let insightsData = null; let keyValidationData = {}; +const escapeHtml = window.AppServices.escapeHtml; // ========== MODAL ACCESSIBILITY ========== function setupModalAccessibility(modalId) { @@ -5754,11 +5755,6 @@ if (resetAgentBtn) { }); } -function escapeHtml(str) { - if (!str) return ''; - return str.replace(/&/g, '&').replace(//g, '>').replace(/"/g, '"'); -} - // ========== STORAGE ========== let storageData = null; diff --git a/apps/sol/workspace.html b/apps/sol/workspace.html index 67e0c37ff..ed6a972b4 100644 --- a/apps/sol/workspace.html +++ b/apps/sol/workspace.html @@ -1159,8 +1159,6 @@ - - -