mirror of
https://github.com/LightAir/turbo-rss.git
synced 2026-02-04 12:06:20 +00:00
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:
@@ -181,7 +181,7 @@ function RSS (options, items) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
this.xml = function(indent) {
|
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);
|
xml(generateXML(this), indent);
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user