aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Johnson <[email protected]>2025-12-11 03:35:17 -0500
committerSamuel Johnson <[email protected]>2025-12-11 03:35:17 -0500
commit75b77bddf3a321906365e973dc7e7acc0c908d44 (patch)
tree61579d439eddab771afd3f77e07437d0baeb0b5c
parent388456b88100aeeb6ca2c0806e1bffba381e944a (diff)
Remove misplaced <
-rw-r--r--cmd/web/handlers/export.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/web/handlers/export.go b/cmd/web/handlers/export.go
index ecb867b..bae5687 100644
--- a/cmd/web/handlers/export.go
+++ b/cmd/web/handlers/export.go
@@ -90,9 +90,9 @@ func (ctx *rssExportContext) feed(w http.ResponseWriter, r *http.Request) {
Title: title,
Link: "https://" + ctx.serv + "/post?id=" + strconv.Itoa(p.Id),
Guid: "https://" + ctx.serv + "/post?id=" + strconv.Itoa(p.Id),
- Description: "<![CDATA[<" + string(p.Brief) + "]]>",
+ Description: "<![CDATA[" + string(p.Brief) + "]]>",
PubDate: p.FormattedTime,
- Content: "<![CDATA[<" + string(p.Content) + "]]>",
+ Content: "<![CDATA[" + string(p.Content) + "]]>",
})
}