implemented opening of external links in new tab

This commit is contained in:
2025-09-08 21:39:15 +02:00
parent 6e3fa67ed1
commit 8107157f6a
6 changed files with 38 additions and 17 deletions

View File

@@ -1,4 +1,5 @@
<script>
import { target } from '../../urls.svelte';
import Tags from '../tags/TagList.svelte';
let { bookmark } = $props();
@@ -12,7 +13,7 @@
<legend class="date">
{bookmark.timestamp.replace('T',' ')}
</legend>
{@html bookmark.comment.rendered}
{@html target(bookmark.comment.rendered)}
<Tags module="bookmark" id={bookmark.id} />
</fieldset>
{/if}