summaryrefslogtreecommitdiff
path: root/examples/hackernews/src/components/Comment.astro
diff options
context:
space:
mode:
Diffstat (limited to 'examples/hackernews/src/components/Comment.astro')
-rw-r--r--examples/hackernews/src/components/Comment.astro2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/hackernews/src/components/Comment.astro b/examples/hackernews/src/components/Comment.astro
index 50fa3e9e4..8327e666c 100644
--- a/examples/hackernews/src/components/Comment.astro
+++ b/examples/hackernews/src/components/Comment.astro
@@ -16,7 +16,7 @@ const { comment } = Astro.props;
<a href={`/users/${comment.user}`}>{comment.user}</a>{' '}
{comment.time_ago} ago
</div>
- <div class="text" set:html={comment.content}></div>
+ <div class="text" set:html={comment.content} />
<Show when={comment.comments.length}>
<Toggle open>
<For each={comment.comments}>{(comment: IComment) => <Astro.self comment={comment} />}</For>