diff --git a/go-backend/internal/services/official_accounts_service.go b/go-backend/internal/services/official_accounts_service.go index 30bc777..4011653 100644 --- a/go-backend/internal/services/official_accounts_service.go +++ b/go-backend/internal/services/official_accounts_service.go @@ -5,6 +5,7 @@ import ( "encoding/json" "encoding/xml" "fmt" + "html" "io" "net/http" "strings" @@ -291,9 +292,9 @@ func (s *OfficialAccountsService) FetchSearXNGNews(ctx context.Context, site str continue } item := RSSItem{ - Title: r.Title, + Title: html.UnescapeString(r.Title), Link: r.URL, - Description: r.Content, + Description: html.UnescapeString(r.Content), GUID: r.URL, // use the actual URL as GUID for dedup } if r.PublishedDate != "" {