Fixed remaining eslint errors for services/**/*.js
This commit is contained in:
parent
c7ba0235c5
commit
8b74730d08
3 changed files with 8 additions and 8 deletions
|
@ -135,7 +135,7 @@ function checkEntries(parent, entries, callback) {
|
|||
if (/\[RSS_ENTRY[\w]*\]/i.test(html)) {
|
||||
html = html.replace(/\[RSS_ENTRY\]/, entry.content); //for backward compatibility
|
||||
Object.keys(entry).forEach(key => {
|
||||
html = html.replace('\[RSS_ENTRY_'+key.toUpperCase()+'\]', entry[key])
|
||||
html = html.replace('[RSS_ENTRY_' + key.toUpperCase() + ']', entry[key]);
|
||||
});
|
||||
} else {
|
||||
html = entry.content + html;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue