From a9f13310abb3e84936f34bc749d51293ee0a547c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A2u=20Cao?= Date: Wed, 23 Oct 2024 14:01:54 +0200 Subject: [PATCH] Wrap atom content in CDATA tag --- feeds.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/feeds.ts b/feeds.ts index d853fdf..bef4c6a 100644 --- a/feeds.ts +++ b/feeds.ts @@ -17,7 +17,9 @@ export function profileAtomFeed(profile: Profile, articles: Article[]) { ${isoDate(article.updatedAt)} ${article.summary} - ${article.html} + `; }).join("\n"); @@ -25,7 +27,7 @@ export function profileAtomFeed(profile: Profile, articles: Article[]) { return ` - ${profile.name} on Nostr + ${profile.name} on Nostr (Articles) ${feedId} ${isoDate(lastUpdate)} ${profile.picture}