From c4aea5c6a64d10076ad6a281e490a715543b0d93 Mon Sep 17 00:00:00 2001 From: Jason Streifling Date: Thu, 4 Apr 2024 17:02:20 +0200 Subject: [PATCH] Put XML tag on its own line --- rss.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }