Skip to content

Commit

Permalink
Fix improperly assembled !#include sublists
Browse files Browse the repository at this point in the history
  • Loading branch information
gorhill committed Jan 16, 2024
1 parent 757b8be commit 0e00010
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/js/assets.js
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ assets.fetchFilterList = async function(mainlistURL) {
continue;
}
if ( result instanceof Object === false ) { continue; }
const content = result.content;
const content = result.content.trimEnd() + '\n';
const slices = sfp.utils.preparser.splitter(
content,
vAPI.webextFlavor.env
Expand Down Expand Up @@ -500,7 +500,7 @@ assets.fetchFilterList = async function(mainlistURL) {
resourceTime,
content: allParts.length === 1
? allParts[0]
: allParts.join('') + '\n'
: allParts.join('')
};
};

Expand Down

0 comments on commit 0e00010

Please sign in to comment.