Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,11 @@ const ExternalLink = (props: Props) => {
)

return (
<Link {...rest} target="_blank">
<Link
{...rest}
target="_blank"
rel="noopener noreferrer"
>
{iconPosition === 'left' && <ArrowIcon />}
{children}
{iconPosition === 'right' && <ArrowIcon />}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
// External link
const [text] = node.children || []
node.type = 'html'
node.value = `<ExternalLink href="${node.url}" rel="nofollow noopener noreferrer">${text?.value || EXTERNAL_LINKS.redisIo}</ExternalLink>`
node.value = `<ExternalLink href="${node.url}" rel="nofollow noopener noreferrer" variant="small-inline" iconSize="S">${text?.value || EXTERNAL_LINKS.redisIo}</ExternalLink>`

Check warning on line 13 in redisinsight/ui/src/utils/formatters/markdown/remarkLink.ts

View workflow job for this annotation

GitHub Actions / Coverage annotations (🧪 jest-coverage-report-action)

🌿 Branch is not covered

Warning! Not covered branch
}

if (node.title === 'Redis Cloud') {
Expand Down
Loading