diff options
author | Alan Pearce | 2024-04-01 21:55:48 +0200 |
---|---|---|
committer | Alan Pearce | 2024-04-01 21:55:48 +0200 |
commit | 009709a04b8c76115cb8d29787f3979535b496b7 (patch) | |
tree | a69b23b25a8ff2695a448ac545cba959a85c2c65 | |
parent | 8e6d711ddb7d1e5ae623d6161c76f372b6c0cc89 (diff) | |
download | website-009709a04b8c76115cb8d29787f3979535b496b7.tar.lz website-009709a04b8c76115cb8d29787f3979535b496b7.tar.zst website-009709a04b8c76115cb8d29787f3979535b496b7.zip |
templates: don't escape HTML for Atom feed; it's not necessary
-rw-r--r-- | src/templates.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/templates.ts b/src/templates.ts index d4642e1..b5043c0 100644 --- a/src/templates.ts +++ b/src/templates.ts @@ -178,7 +178,7 @@ async function renderFeed(title: string, posts: Post[], tag?: string) { $post.find("author > name").text(config.title); $post.children("summary").text(post.description || ""); const content = marked.parse((await getPost(post.input)).content); - $post.children("content").html(Bun.escapeHTML(await content)); + $post.children("content").html(await content); $post.appendTo($feed); } |