|
|
@@ -952,7 +952,7 @@ this.SingleFileCore = this.SingleFileCore || (() => {
|
|
|
}
|
|
|
|
|
|
resolveStyleAttributeURLs() {
|
|
|
- Array.from(this.doc.querySelectorAll("[style]")).map(element => {
|
|
|
+ this.doc.querySelectorAll("[style]").forEach(element => {
|
|
|
let styleContent = element.getAttribute("style");
|
|
|
if (this.options.compressCSS) {
|
|
|
styleContent = DOM.compressCSS(styleContent);
|