From ce8493239eb18cb8b6d5f533c51d43fca150532f Mon Sep 17 00:00:00 2001 From: Stavros Date: Wed, 11 Feb 2026 19:25:33 +0200 Subject: [PATCH] fix: don't escape backend values in the frontend (translations) --- frontend/src/components/domain-warning/domain-warning.tsx | 1 + frontend/src/pages/continue-page.tsx | 1 + frontend/src/pages/logout-page.tsx | 2 ++ 3 files changed, 4 insertions(+) diff --git a/frontend/src/components/domain-warning/domain-warning.tsx b/frontend/src/components/domain-warning/domain-warning.tsx index 4f83b23..2af9229 100644 --- a/frontend/src/components/domain-warning/domain-warning.tsx +++ b/frontend/src/components/domain-warning/domain-warning.tsx @@ -33,6 +33,7 @@ export const DomainWarning = (props: Props) => { i18nKey="domainWarningSubtitle" values={{ appUrl, currentUrl }} components={{ code: }} + shouldUnescape={true} /> diff --git a/frontend/src/pages/continue-page.tsx b/frontend/src/pages/continue-page.tsx index efcf220..691703e 100644 --- a/frontend/src/pages/continue-page.tsx +++ b/frontend/src/pages/continue-page.tsx @@ -108,6 +108,7 @@ export const ContinuePage = () => { code: , }} values={{ cookieDomain }} + shouldUnescape={true} /> diff --git a/frontend/src/pages/logout-page.tsx b/frontend/src/pages/logout-page.tsx index 2709ac6..c8809e7 100644 --- a/frontend/src/pages/logout-page.tsx +++ b/frontend/src/pages/logout-page.tsx @@ -67,6 +67,7 @@ export const LogoutPage = () => { username: email, provider: oauthName, }} + shouldUnescape={true} /> ) : ( { values={{ username, }} + shouldUnescape={true} /> )}