We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1813570 commit a4121f3Copy full SHA for a4121f3
src/components/LinkOut.astro
@@ -5,7 +5,9 @@ let slotContent = await Astro.slots.render('default')
5
slotContent = slotContent.replace(/^<p>(.*)<\/p>$/s, '$1').trim()
6
---
7
8
-<a href={href} target="_blank" rel="noopener noreferrer"><Fragment set:html={slotContent} />{withIcon && <span class="icon"></span>}</a>
+<a href={href} target="_blank" rel="noopener noreferrer"
9
+ ><Fragment set:html={slotContent} />{withIcon && <span class="icon" />}</a
10
+>
11
12
<style>
13
.link-out {
0 commit comments