Skip to content

Commit 02341fc

Browse files
authored
fix(line-numbers): avoid self-closing tag to address Svelte 5 warning (#342)
Fixes #341
1 parent 3254397 commit 02341fc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/LineNumbers.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
<div
4949
class:line-background={true}
5050
style:background="var(--highlighted-background, {HIGHLIGHTED_BACKGROUND})"
51-
/>
51+
></div>
5252
{/if}
5353
</td>
5454
<td>
@@ -57,7 +57,7 @@
5757
<div
5858
class:line-background={true}
5959
style:background="var(--highlighted-background, {HIGHLIGHTED_BACKGROUND})"
60-
/>
60+
></div>
6161
{/if}
6262
</td>
6363
</tr>

0 commit comments

Comments
 (0)