Skip to content

Commit

Permalink
update referrer policy for hyperlinks
Browse files Browse the repository at this point in the history
  • Loading branch information
harishv7 committed Aug 21, 2024
1 parent 9320b71 commit 11a61d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/layouts/EditPage/EditPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ export const EditPage = () => {
.chain()
.focus()
.insertContent(
`<a target="_blank" rel="noopener noreferrer nofollow" href="${href}">${text}</a>`
`<a target="_blank" rel="noopener nofollow" referrerpolicy="strict-origin-when-cross-origin" href="${href}">${text}</a>`
)
.run()
onHyperlinkModalClose()
Expand Down

0 comments on commit 11a61d1

Please sign in to comment.