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>
|
</script>
|
||||||
|
|
||||||
<a
|
<a
|
||||||
|
{...$$restProps}
|
||||||
{href}
|
{href}
|
||||||
class="{highlight
|
class="{highlight
|
||||||
? 'text-blue-500'
|
? 'text-blue-500'
|
||||||
|
|||||||
@@ -27,7 +27,11 @@
|
|||||||
{richURL.hostname}
|
{richURL.hostname}
|
||||||
</Link>
|
</Link>
|
||||||
{/if}
|
{/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}
|
{embed_title}
|
||||||
</a>
|
</a>
|
||||||
{#if embed_description}
|
{#if embed_description}
|
||||||
|
|||||||
Reference in new issue
Block a user