Ver código fonte

removed unneeded code

Gildas 7 anos atrás
pai
commit
c24845d655
1 arquivos alterados com 0 adições e 1 exclusões
  1. 0 1
      lib/single-file/single-file-core.js

+ 0 - 1
lib/single-file/single-file-core.js

@@ -1013,7 +1013,6 @@ this.SingleFileCore = this.SingleFileCore || (() => {
 		}
 
 		static async processStylesheet(stylesheetContent, baseURI, options, inline, indexStyle, batchRequest) {
-			stylesheetContent = DomProcessorHelper.resolveStylesheetURLs(stylesheetContent, baseURI);
 			const urlFunctions = DomUtil.getUrlFunctions(stylesheetContent);
 			let indexVariable = 0;
 			await Promise.all(urlFunctions.map(async urlFunction => {