mirror of
https://github.com/imputnet/cobalt.git
synced 2025-02-09 15:08:17 +00:00
web/OuterLink: accept rel but ignore it
This commit is contained in:
parent
a7f40d708e
commit
782752fd60
|
@ -1,5 +1,10 @@
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
export let href: string;
|
export let href: string;
|
||||||
|
|
||||||
|
// rel is passed by MDsveX, but we don't need it, so we just ignore it
|
||||||
|
// no way to change this behavior atm (https://github.com/pngwn/MDsveX/issues/609)
|
||||||
|
export let rel: string = "";
|
||||||
|
rel;
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<a target="_blank" rel="noopener noreferrer" {href}>
|
<a target="_blank" rel="noopener noreferrer" {href}>
|
||||||
|
|
Loading…
Reference in a new issue