mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-19 03:49:34 +00:00
chore(links): add rel="" to all links
This commit is contained in:
parent
2a63aa7729
commit
32077693e0
7 changed files with 8 additions and 2 deletions
|
@ -15,6 +15,7 @@
|
|||
{#if href}
|
||||
<a
|
||||
href="{href}"
|
||||
rel="{$$restProps.target === '_blank' ? 'noopener noreferrer' : undefined}"
|
||||
role="button"
|
||||
class:bx--skeleton="{true}"
|
||||
class:bx--btn="{true}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue