fix: don't escape backend values in the frontend (translations)

This commit is contained in:
Stavros
2026-02-11 19:25:33 +02:00
parent 71fe73cca0
commit ce8493239e
3 changed files with 4 additions and 0 deletions

View File

@@ -33,6 +33,7 @@ export const DomainWarning = (props: Props) => {
i18nKey="domainWarningSubtitle"
values={{ appUrl, currentUrl }}
components={{ code: <code /> }}
shouldUnescape={true}
/>
</CardDescription>
</CardHeader>

View File

@@ -108,6 +108,7 @@ export const ContinuePage = () => {
code: <code />,
}}
values={{ cookieDomain }}
shouldUnescape={true}
/>
</CardDescription>
</CardHeader>

View File

@@ -67,6 +67,7 @@ export const LogoutPage = () => {
username: email,
provider: oauthName,
}}
shouldUnescape={true}
/>
) : (
<Trans
@@ -78,6 +79,7 @@ export const LogoutPage = () => {
values={{
username,
}}
shouldUnescape={true}
/>
)}
</CardDescription>