fix: only image opens new tab
This commit is contained in:
1 parent
c769cdbf54
commit
53e16490fe
2 files changed
+6
-1
No files matched your search
@@ -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}
|
||||
|
||||
Reference in new issue
Block a user