Removed white space char that breaks validation

The extra newline char between <?xml version="1.0" encoding="UTF-8"?> and the <rss> tag breaks what would otherwise be a valid feed.  It's only there for aesthetic reasons anyway so it should be removed.
This commit is contained in:
Benjamin Solum
2015-02-28 14:39:52 -06:00
parent c1a58d3ca7
commit 10416a7320

View File

@@ -181,7 +181,7 @@ function RSS (options, items) {
};
this.xml = function(indent) {
return '<?xml version="1.0" encoding="UTF-8"?>\n' +
return '<?xml version="1.0" encoding="UTF-8"?>' +
xml(generateXML(this), indent);
};
}