diff --git a/backend/app/rest/api/rss.go b/backend/app/rest/api/rss.go index 11a49ee2..8dafd5ab 100644 --- a/backend/app/rest/api/rss.go +++ b/backend/app/rest/api/rss.go @@ -159,8 +159,7 @@ func (s *rss) toRssFeed(url string, comments []store.Comment, description string parentComment, err := s.dataService.Get(c.Locator, c.ParentID, store.User{}) if err == nil { f.Title = fmt.Sprintf("%s > %s", c.User.Name, parentComment.User.Name) - f.Description = f.Description + "
" + f.Description = f.Description + "" + parentComment.Snippet(300) + - "
" } else { log.Printf("[WARN] failed to get info about parent comment, %s", err) } diff --git a/backend/app/rest/api/rss_test.go b/backend/app/rest/api/rss_test.go index b67dfaad..bab6c832 100644 --- a/backend/app/rest/api/rss_test.go +++ b/backend/app/rest/api/rss_test.go @@ -161,7 +161,7 @@ func TestServer_RssWithReply(t *testing.T) {" + parentComment.Snippet(300) + "