diff --git a/frontend/src/routes/@[username]/ProfileLink.svelte b/frontend/src/routes/@[username]/ProfileLink.svelte
index a7bc5f9..22a80eb 100644
--- a/frontend/src/routes/@[username]/ProfileLink.svelte
+++ b/frontend/src/routes/@[username]/ProfileLink.svelte
@@ -6,6 +6,9 @@
let displayLink: string;
$: displayLink = prettifyLink(link);
+ let isLink = true;
+ $: isLink = link.startsWith("http://") || link.startsWith("https://");
+
const prettifyLink = (raw: string) => {
let out = raw;
if (raw.startsWith("https://")) out = raw.substring("https://".length);
@@ -17,5 +20,9 @@
};
-
-{displayLink}
+
+{#if isLink}
+ {displayLink}
+{:else}
+ {link}
+{/if}