all repos — homestead @ a3b2f9c9fd08e3f963150d7fe6194cc457854793

Code for my website

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

Alan Pearce
commit

a3b2f9c9fd08e3f963150d7fe6194cc457854793

parent

fbe52a04ea2bc00b830fdfdaa2629e740d8ef959

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

jump to
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); }