@@ -12,7 +12,7 @@ import {
1212 parseTestIbmDB2ConnectionString ,
1313 parseTestDynamoDBConnectionString ,
1414} from '../parsers/string-connection-to-database-parsers.js' ;
15- import { escapeHtml } from '../../entities/email/utils/escape-html.util.js' ;
15+ import { escapeHtml , wrapStringInTagAWithoutLink } from '../../entities/email/utils/escape-html.util.js' ;
1616import { isTest } from '../app/is-test.js' ;
1717
1818export type TestConnectionsFromJSON = {
@@ -1039,6 +1039,7 @@ export const Constants = {
10391039 } ,
10401040 GROUP_INVITE_HTML_DATA : function ( groupTitle : string ) {
10411041 groupTitle = escapeHtml ( groupTitle ) ;
1042+ groupTitle = wrapStringInTagAWithoutLink ( groupTitle ) ;
10421043 return `
10431044 <!doctype html>
10441045 <html>
@@ -1196,6 +1197,7 @@ export const Constants = {
11961197 companyName : string ,
11971198 ) {
11981199 companyName = escapeHtml ( companyName ) ;
1200+ companyName = wrapStringInTagAWithoutLink ( companyName ) ;
11991201 const domain = customCompanyDomain ? customCompanyDomain : Constants . APP_DOMAIN_ADDRESS ;
12001202 return `
12011203 <!doctype html>
@@ -1361,6 +1363,7 @@ export const Constants = {
13611363 } ,
13621364 COMPANY_2FA_ENABLED_HTML_DATA : ( companyName : string ) : string => {
13631365 companyName = escapeHtml ( companyName ) ;
1366+ companyName = wrapStringInTagAWithoutLink ( companyName ) ;
13641367 return `
13651368 <body>
13661369 <p>
0 commit comments