Fix: add noreferrer to bookmark links (#4112)

pull/4117/head
shamoon 1 month ago committed by GitHub
parent 19bdc0ec34
commit e6c7692677
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -13,6 +13,7 @@ export default function Item({ bookmark }) {
<a <a
href={bookmark.href} href={bookmark.href}
title={bookmark.name} title={bookmark.name}
rel="noreferrer"
target={bookmark.target ?? settings.target ?? "_blank"} target={bookmark.target ?? settings.target ?? "_blank"}
className={classNames( className={classNames(
settings.cardBlur !== undefined && `backdrop-blur${settings.cardBlur.length ? "-" : ""}${settings.cardBlur}`, settings.cardBlur !== undefined && `backdrop-blur${settings.cardBlur.length ? "-" : ""}${settings.cardBlur}`,

Loading…
Cancel
Save