Add spaces

v1.18.x
RoiEX 8 years ago
parent 0f9530bbc0
commit fcda832052

@ -17,7 +17,7 @@ module.exports = function (req, res, next) {
function generateXML() { function generateXML() {
return xml([{ return xml([{
OpenSearchDescription: [ OpenSearchDescription: [
{ _attr: { xmlns: 'http://a9.com/-/spec/opensearch/1.1/' }}, { _attr: { xmlns: 'http://a9.com/-/spec/opensearch/1.1/' } },
{ ShortName: String(meta.config.title || meta.config.browserTitle || 'NodeBB') }, { ShortName: String(meta.config.title || meta.config.browserTitle || 'NodeBB') },
{ Description: String(meta.config.description || '') }, { Description: String(meta.config.description || '') },
{ Url: [{ { Url: [{
@ -26,7 +26,7 @@ function generateXML() {
method: 'get', method: 'get',
template: nconf.get('url') + '/search?term={searchTerms}&in=titlesposts', template: nconf.get('url') + '/search?term={searchTerms}&in=titlesposts',
}, },
}]}, }] },
], ],
}], { declaration: true, indent: '\t' }); }], { declaration: true, indent: '\t' });
} }

Loading…
Cancel
Save