mirror of
https://github.com/urbit/shrub.git
synced 2024-12-24 03:14:30 +03:00
landscape/RichText: revert anchors to use rel= for referrer
This commit is contained in:
parent
0dc3e20923
commit
a1bab09f90
@ -37,7 +37,7 @@ const RichText = React.memo(({ disableRemoteContent, ...props }) => (
|
||||
return <RemoteContent className="mw-100" url={linkProps.href} />;
|
||||
}
|
||||
|
||||
return <Anchor display="inline" target='_blank' referrerPolicy='noreferrer noopener' borderBottom='1px solid' remoteContentPolicy={remoteContentPolicy} {...linkProps}>{linkProps.children}</Anchor>;
|
||||
return <Anchor display="inline" target='_blank' rel='noreferrer noopener' borderBottom='1px solid' remoteContentPolicy={remoteContentPolicy} {...linkProps}>{linkProps.children}</Anchor>;
|
||||
},
|
||||
linkReference: (linkProps) => {
|
||||
const linkText = String(linkProps.children[0].props.children);
|
||||
|
Loading…
Reference in New Issue
Block a user