diff --git a/src/lib/components/input/Link.svelte b/src/lib/components/input/Link.svelte index 3f790ef8..0edf1c7b 100644 --- a/src/lib/components/input/Link.svelte +++ b/src/lib/components/input/Link.svelte @@ -10,6 +10,8 @@ return undefined } } + + $: richURL = parseURL(href) @@ -18,10 +20,26 @@ + {#if richURL} + + {richURL.protocol}// + + + {richURL.hostname} + + + {richURL.pathname} + + {:else} {href} + {/if}