From 10416a73204fc47ac0efb02937eb4093892f0b6e Mon Sep 17 00:00:00 2001 From: Benjamin Solum Date: Sat, 28 Feb 2015 14:39:52 -0600 Subject: [PATCH] Removed white space char that breaks validation The extra newline char between and the tag breaks what would otherwise be a valid feed. It's only there for aesthetic reasons anyway so it should be removed. --- lib/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/index.js b/lib/index.js index e9fa9ce..07ed334 100755 --- a/lib/index.js +++ b/lib/index.js @@ -181,7 +181,7 @@ function RSS (options, items) { }; this.xml = function(indent) { - return '\n' + + return '' + xml(generateXML(this), indent); }; }