diff --git a/web/src/lib/components/comment/Comment.svelte b/web/src/lib/components/comment/Comment.svelte index b93e69bcb..523b542ae 100644 --- a/web/src/lib/components/comment/Comment.svelte +++ b/web/src/lib/components/comment/Comment.svelte @@ -42,20 +42,20 @@ {#if deleted}
This comment was deleted.
{:else}
-
+
@@ -67,17 +67,17 @@
{#if editor} -
{@render editor()}
+
{@render editor()}
{:else if bodyHtml} -
+
{@html bodyHtml}
{:else if body} -
{body}
+
{body}
{/if} {#if !editor} - + {/if}
diff --git a/web/src/lib/components/comment/CommentBox.svelte b/web/src/lib/components/comment/CommentBox.svelte index c00a172ba..77038e0d5 100644 --- a/web/src/lib/components/comment/CommentBox.svelte +++ b/web/src/lib/components/comment/CommentBox.svelte @@ -60,11 +60,11 @@ {/snippet} {#if isThread} -
+
{@render editor()}
{:else} - + {@render editor()} {/if} diff --git a/web/src/lib/components/comment/CommentCard.svelte b/web/src/lib/components/comment/CommentCard.svelte index afa22a5dc..27e849da1 100644 --- a/web/src/lib/components/comment/CommentCard.svelte +++ b/web/src/lib/components/comment/CommentCard.svelte @@ -115,7 +115,7 @@ {#snippet commentActions(comment: CommentView, noun: "comment" | "reply")}
{#if thread.replies.length} -
+
{#each thread.replies as reply, i (reply.uri)} {#snippet replyEditor()} {@render commentEditor(reply, thread.self.uri, thread.self.cid)} @@ -223,7 +223,7 @@ {#snippet replyActions()} {@render commentActions(reply, "reply")} {/snippet} -
+
+
{/if} @@ -275,7 +275,7 @@
{:else}
{#if currentUser} {/snippet} -
-
+
+
{@render readSegment("inbox", "Inbox", Inbox)} {@render readSegment("unread", "Unread", Glasses)} @@ -65,7 +64,6 @@ {#if hasNotifications}