sindresorhus / linkify-urls

Linkify URLs in a string
MIT License
163 stars 22 forks source link

Add `rel="noreferrer"` as default attribute #30

Closed xiCO2k closed 4 years ago

xiCO2k commented 5 years ago

Based on https://developers.google.com/web/tools/lighthouse/audits/noopener this should be the default for cross-origin destinations

sindresorhus commented 5 years ago

You also need to update the examples in the readme and index.d.ts and also explain why it's a default attribute, linking to your above source.

xiCO2k commented 5 years ago

Just Added, thanks for the review

sindresorhus commented 4 years ago

@xiCO2k Friendly bump :)

sindresorhus commented 4 years ago

Closing for lack of response. https://github.com/sindresorhus/linkify-urls/issues/32