From 6e60ede1270c65654ee53e8a24cb310e0b1ab725 Mon Sep 17 00:00:00 2001 From: Samuel Johnson Date: Thu, 11 Dec 2025 03:20:58 -0500 Subject: Switch from escaping to CDATA, seems a lot of readers don't support escaping... --- cmd/web/handlers/export.go | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'cmd/web/handlers') diff --git a/cmd/web/handlers/export.go b/cmd/web/handlers/export.go index a4db69d..ecb867b 100644 --- a/cmd/web/handlers/export.go +++ b/cmd/web/handlers/export.go @@ -86,16 +86,13 @@ func (ctx *rssExportContext) feed(w http.ResponseWriter, r *http.Request) { } } - brief := html.EscapeString(string(p.Brief)) - content := html.EscapeString(string(p.Content)) - feed.Items = append(feed.Items, Item{ Title: title, Link: "https://" + ctx.serv + "/post?id=" + strconv.Itoa(p.Id), Guid: "https://" + ctx.serv + "/post?id=" + strconv.Itoa(p.Id), - Description: brief, + Description: "", PubDate: p.FormattedTime, - Content: content, + Content: "", }) } -- cgit v1.2.3