|
|
@@ -158,6 +158,9 @@ this.SingleFileCore = this.SingleFileCore || (() => {
|
|
|
this.options.usedFonts = docData.usedFonts;
|
|
|
this.options.shadowRootContents = docData.shadowRootContents;
|
|
|
}
|
|
|
+ if (this.options.saveRawPage) {
|
|
|
+ this.options.removeFrames = true;
|
|
|
+ }
|
|
|
this.options.content = this.options.content || (this.options.doc ? DocUtil.serialize(this.options.doc, false) : null);
|
|
|
this.onprogress = options.onprogress || (() => { });
|
|
|
}
|