mirror of
https://github.com/LightAir/turbo-rss.git
synced 2026-11-11 23:07:54 +03: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:
1 parent
c1a58d3ca7
commit
10416a7320
1 file changed
+1
-1
+1
-1
@@ -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