diff options
author | Reverite <github@reverite.sh> | 2019-10-28 15:15:33 -0400 |
---|---|---|
committer | Reverite <github@reverite.sh> | 2019-10-28 15:15:33 -0400 |
commit | 1150110d50d9060fc325825c6770e7ef773ebcff (patch) | |
tree | 816e549592c184ffe6f545e7def2f785517be0c0 /app/javascript/flavours/glitch/components/display_name.js | |
parent | 205debc43d841afaa1b2ed7dfd05a6d1b6d9d5e0 (diff) | |
parent | 00793a86bc52e4cb37318e42ea4ceb37a896c727 (diff) |
Merge branch 'glitch' into production
Diffstat (limited to 'app/javascript/flavours/glitch/components/display_name.js')
-rw-r--r-- | app/javascript/flavours/glitch/components/display_name.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/javascript/flavours/glitch/components/display_name.js b/app/javascript/flavours/glitch/components/display_name.js index 9d8c4a775..44662a8b8 100644 --- a/app/javascript/flavours/glitch/components/display_name.js +++ b/app/javascript/flavours/glitch/components/display_name.js @@ -78,6 +78,7 @@ export default class DisplayName extends React.PureComponent { target='_blank' onClick={(e) => onAccountClick(a.get('id'), e)} title={`@${a.get('acct')}`} + rel='noopener noreferrer' > <bdi key={a.get('id')}> <strong className='display-name__html' dangerouslySetInnerHTML={{ __html: a.get('display_name_html') }} /> @@ -90,7 +91,7 @@ export default class DisplayName extends React.PureComponent { } suffix = ( - <a href={account.get('url')} target='_blank' onClick={(e) => onAccountClick(account.get('id'), e)}> + <a href={account.get('url')} target='_blank' onClick={(e) => onAccountClick(account.get('id'), e)} rel='noopener noreferrer'> <span className='display-name__account'>@{acct}</span> </a> ); |