From 1409d6fb5e399c89b1112ce75e7f0a7d30b1a5b0 Mon Sep 17 00:00:00 2001 From: Leonard Kim Date: Sat, 3 Aug 2019 17:08:43 -0700 Subject: [PATCH] fix(deep-linking): do not accept native app name as raw html There is no need to display the native app name as raw html. --- .../deep-linking/components/DeepLinkingMobilePage.web.js | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/react/features/deep-linking/components/DeepLinkingMobilePage.web.js b/react/features/deep-linking/components/DeepLinkingMobilePage.web.js index 2bf5fd0d5..b098787b9 100644 --- a/react/features/deep-linking/components/DeepLinkingMobilePage.web.js +++ b/react/features/deep-linking/components/DeepLinkingMobilePage.web.js @@ -4,7 +4,7 @@ import React, { Component } from 'react'; import { connect } from '../../base/redux'; import { createDeepLinkingPageEvent, sendAnalytics } from '../../analytics'; -import { translate, translateToHTML } from '../../base/i18n'; +import { translate } from '../../base/i18n'; import { Platform } from '../../base/react'; import { DialInSummary } from '../../invite'; @@ -109,12 +109,7 @@ class DeepLinkingMobilePage extends Component { : null }

- { - translateToHTML( - t, - `${_TNS}.appNotInstalled`, - { app: NATIVE_APP_NAME }) - } + { t(`${_TNS}.appNotInstalled`, { app: NATIVE_APP_NAME }) }