fix: only image opens new tab

This commit is contained in:
Xylight committed 2024-02-26 17:22:19 -08:00
1 parent c769cdbf54
commit 53e16490fe
2 files changed
+6 -1

No files matched your search

+1
View File
@@ -17,6 +17,7 @@
</script>
<a
{...$$restProps}
{href}
class="{highlight
? 'text-blue-500'
@@ -27,7 +27,11 @@
{richURL.hostname}
</Link>
{/if}
<a href={url} class="font-medium text-base hover:underline">
<a
href={url}
target="_blank"
class="font-medium text-base hover:underline"
>
{embed_title}
</a>
{#if embed_description}