1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-28 15:22:05 +03:00

Merge pull request #2496 from matrix-org/dbkr/target_blank

Add target="_blank" to links that don't have it
This commit is contained in:
David Baker
2019-01-24 18:15:18 +00:00
committed by GitHub
5 changed files with 26 additions and 6 deletions

View File

@ -605,7 +605,7 @@ module.exports = React.createClass({
<div>
<h3>Referral</h3>
<div className="mx_UserSettings_section">
{ _t("Refer a friend to Riot:") } <a href={href}>{ href }</a>
{ _t("Refer a friend to Riot:") } <a href={href} target="_blank" rel="noopener">{ href }</a>
</div>
</div>
);