diff --git a/rss.go b/rss.go index 506ddd3..a2c3075 100644 --- a/rss.go +++ b/rss.go @@ -239,5 +239,5 @@ func (f *Feed) ToXML(encoding string) (string, error) { return "", fmt.Errorf("error XML encoding feed: %v", err) } - return `` + string(xml), nil + return fmt.Sprintln(``) + string(xml), nil }