Skip to content

Commit

Permalink
fix(line-numbers): avoid self-closing tag to address Svelte 5 warning (
Browse files Browse the repository at this point in the history
…#342)

Fixes #341
  • Loading branch information
metonym committed May 16, 2024
1 parent 3254397 commit 02341fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/LineNumbers.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
<div
class:line-background={true}
style:background="var(--highlighted-background, {HIGHLIGHTED_BACKGROUND})"
/>
></div>
{/if}
</td>
<td>
Expand All @@ -57,7 +57,7 @@
<div
class:line-background={true}
style:background="var(--highlighted-background, {HIGHLIGHTED_BACKGROUND})"
/>
></div>
{/if}
</td>
</tr>
Expand Down

0 comments on commit 02341fc

Please sign in to comment.