all repos — website @ 009709a04b8c76115cb8d29787f3979535b496b7

My website

templates: don't escape HTML for Atom feed; it's not necessary

Alan Pearce
commit

009709a04b8c76115cb8d29787f3979535b496b7

parent

8e6d711ddb7d1e5ae623d6161c76f372b6c0cc89

1 file changed, 1 insertion(+), 1 deletion(-)

changed files
M src/templates.tssrc/templates.ts
@@ -178,7 +178,7 @@ $post.children("updated").text(post.date.toISOString());
$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); }