about summary refs log tree commit diff stats
path: root/src/templates.ts
diff options
context:
space:
mode:
authorAlan Pearce2024-04-01 21:55:48 +0200
committerAlan Pearce2024-04-01 21:55:48 +0200
commit009709a04b8c76115cb8d29787f3979535b496b7 (patch)
treea69b23b25a8ff2695a448ac545cba959a85c2c65 /src/templates.ts
parent8e6d711ddb7d1e5ae623d6161c76f372b6c0cc89 (diff)
downloadwebsite-009709a04b8c76115cb8d29787f3979535b496b7.tar.lz
website-009709a04b8c76115cb8d29787f3979535b496b7.tar.zst
website-009709a04b8c76115cb8d29787f3979535b496b7.zip
templates: don't escape HTML for Atom feed; it's not necessary
Diffstat (limited to 'src/templates.ts')
-rw-r--r--src/templates.ts2
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);
   }