aboutsummaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'cmd')
-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) + "]]>",
})
}