Explorar o código

removed block

Gildas %!s(int64=7) %!d(string=hai) anos
pai
achega
a67a5f0746
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  1. 3 3
      lib/single-file/single-file-core.js

+ 3 - 3
lib/single-file/single-file-core.js

@@ -964,9 +964,9 @@ this.SingleFileCore = this.SingleFileCore || (() => {
 		}
 
 		async processStyleAttributes() {
-			return Promise.all(Array.from(this.styles).map(([, declarationList]) => {
-				return DomProcessorHelper.processStyle(declarationList.children.toArray(), this.baseURI, this.options, this.cssVariables, this.batchRequest);
-			}));
+			return Promise.all(Array.from(this.styles).map(([, declarationList]) =>
+				DomProcessorHelper.processStyle(declarationList.children.toArray(), this.baseURI, this.options, this.cssVariables, this.batchRequest)
+			));
 		}
 
 		replaceStyleAttributes() {