sanitise quotes
This commit is contained in:
parent
92bc3e83ef
commit
c99db2c385
1 changed files with 2 additions and 2 deletions
|
@ -163,7 +163,7 @@ export default class HelpUserSettingsTab extends React.Component {
|
||||||
render() {
|
render() {
|
||||||
let faqText = _t('For help with using Riot, click <a>here</a>.', {}, {
|
let faqText = _t('For help with using Riot, click <a>here</a>.', {}, {
|
||||||
'a': (sub) =>
|
'a': (sub) =>
|
||||||
<a href="https://about.riot.im/need-help/" rel='noreferrer noopener' target='_blank'>{sub}</a>,
|
<a href="https://about.riot.im/need-help/" rel="noreferrer noopener" target="_blank">{sub}</a>,
|
||||||
});
|
});
|
||||||
if (SdkConfig.get().welcomeUserId && getCurrentLanguage().startsWith('en')) {
|
if (SdkConfig.get().welcomeUserId && getCurrentLanguage().startsWith('en')) {
|
||||||
faqText = (
|
faqText = (
|
||||||
|
@ -231,7 +231,7 @@ export default class HelpUserSettingsTab extends React.Component {
|
||||||
{
|
{
|
||||||
'a': (sub) =>
|
'a': (sub) =>
|
||||||
<a href="https://matrix.org/security-disclosure-policy/"
|
<a href="https://matrix.org/security-disclosure-policy/"
|
||||||
rel='noreferrer noopener' target='_blank'>{sub}</a>,
|
rel="noreferrer noopener" target="_blank">{sub}</a>,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue