Skip to content

Commit

Permalink
Merge pull request #20485 from Yoast/20389-fix-code-scanning-alert-po…
Browse files Browse the repository at this point in the history
…tentially-unsafe-external-link

20389 fix code scanning alert potentially unsafe external link
  • Loading branch information
mhkuu committed Jul 10, 2023
2 parents a53e056 + 7cbf45c commit 33b5211
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/components/src/WordOccurrenceInsights.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const getKeywordResearchArticleLink = ( url ) => {
mixedString: keywordsResearchLinkTranslation,
components: {
// eslint-disable-next-line jsx-a11y/anchor-has-content, react/jsx-no-target-blank
a: <a href={ url } target="_blank" />,
a: <a href={ url } target="_blank" rel="noreferrer" />,
},
} );
};
Expand Down

0 comments on commit 33b5211

Please sign in to comment.