mirror of
https://github.com/LightAir/turbo-rss.git
synced 2026-02-04 03:56:19 +00:00
add eslint
This commit is contained in:
@@ -44,11 +44,11 @@ function generateXML(data) {
|
||||
|
||||
item_values.push({'turbo:content': {_cdata: fullContent}});
|
||||
|
||||
if (typeof item.related !== "undefined") {
|
||||
if (typeof item.related !== 'undefined') {
|
||||
ifTruePush(item.related, item_values, {
|
||||
'yandex:related': item.related.map(
|
||||
function (related) {
|
||||
return '<link url="' + related.link + '" img="' + related.image_url + '">' + related.text + '</link>';
|
||||
return '<link url="' + related.link + '" img="' + related.image_url + '">' + related.text + '</link>';
|
||||
}
|
||||
).join('')
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user