sanitise quotes

This commit is contained in:
Ben Parsons 2020-02-27 18:54:11 +00:00
parent 92bc3e83ef
commit c99db2c385

View file

@ -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>