Skip to content

Commit a4121f3

Browse files
pnpm format
1 parent 1813570 commit a4121f3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/components/LinkOut.astro

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ let slotContent = await Astro.slots.render('default')
55
slotContent = slotContent.replace(/^<p>(.*)<\/p>$/s, '$1').trim()
66
---
77

8-
<a href={href} target="_blank" rel="noopener noreferrer"><Fragment set:html={slotContent} />{withIcon && <span class="icon"></span>}</a>
8+
<a href={href} target="_blank" rel="noopener noreferrer"
9+
><Fragment set:html={slotContent} />{withIcon && <span class="icon" />}</a
10+
>
911

1012
<style>
1113
.link-out {

0 commit comments

Comments
 (0)