mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-11 16:17:25 +02:00
Add rel="noreferrer noopener" to <a> with target="_blank" (#531)
* Add rel="noreferrer noopener" to <a> with target="_blank" * Run Prettier
This commit is contained in:
parent
c2cd169b64
commit
e19b9ac56e
5 changed files with 26 additions and 10 deletions
|
@ -52,11 +52,15 @@ class Footer extends React.Component {
|
|||
</a>
|
||||
<a
|
||||
href="http://stackoverflow.com/questions/tagged/"
|
||||
target="_blank">
|
||||
target="_blank"
|
||||
rel="noreferrer noopener">
|
||||
Stack Overflow
|
||||
</a>
|
||||
<a href="https://discordapp.com/">Project Chat</a>
|
||||
<a href="https://twitter.com/" target="_blank">
|
||||
<a
|
||||
href="https://twitter.com/"
|
||||
target="_blank"
|
||||
rel="noreferrer noopener">
|
||||
Twitter
|
||||
</a>
|
||||
</div>
|
||||
|
@ -80,6 +84,7 @@ class Footer extends React.Component {
|
|||
<a
|
||||
href="https://code.facebook.com/projects/"
|
||||
target="_blank"
|
||||
rel="noreferrer noopener"
|
||||
className="fbOpenSource">
|
||||
<img
|
||||
src={this.props.config.baseUrl + 'img/oss_logo.png'}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue