Skip to content

Commit

Permalink
fix(links): HTML content inside external linkts
Browse files Browse the repository at this point in the history
  • Loading branch information
Princesseuh committed Dec 25, 2023
1 parent 67da582 commit 9e77466
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ExternalLink.astro
Expand Up @@ -99,4 +99,4 @@ const content = (await Astro.slots.render("default")).trim();
)
}

<a href={href} class="ml-1">{content}</a>
<a href={href} class="ml-1"><Fragment set:html={content} /></a>

0 comments on commit 9e77466

Please sign in to comment.