diff --git a/src/lib/components/Differ/Differ.svelte b/src/lib/components/Differ/Differ.svelte index a4b9994c4..bacc267bd 100644 --- a/src/lib/components/Differ/Differ.svelte +++ b/src/lib/components/Differ/Differ.svelte @@ -159,7 +159,7 @@
-
+
{#each rows as row} {@const baseNumber = row.type === RowType.Equal || row.type === RowType.Deletion @@ -169,35 +169,24 @@ row.type === RowType.Equal || row.type === RowType.Addition ? String(row.currentLineNumber) : ''} -
- +
+ {baseNumber} - + + {curNumber} - + + + {#each row.render.html as content} + {@html content} + {/each} +
{/each}
- -
- {#each rows as row} - - {#each row.render.html as content} - {@html content} - {/each} - - {/each} -