|
|
@@ -111,9 +111,6 @@ this.SingleFileCore = this.SingleFileCore || (() => {
|
|
|
this.processor.insertFaviconLink();
|
|
|
}
|
|
|
this.processor.resolveHrefs();
|
|
|
- if (this.options.insertSingleFileComment) {
|
|
|
- this.processor.insertSingleFileCommentNode();
|
|
|
- }
|
|
|
this.processor.replaceCanvasElements();
|
|
|
if (this.options.removeHiddenElements) {
|
|
|
this.processor.removeHiddenElements();
|
|
|
@@ -158,6 +155,9 @@ this.SingleFileCore = this.SingleFileCore || (() => {
|
|
|
if (this.options.compressHTML) {
|
|
|
this.processor.compressHTML(true);
|
|
|
}
|
|
|
+ if (this.options.insertSingleFileComment) {
|
|
|
+ this.processor.insertSingleFileCommentNode();
|
|
|
+ }
|
|
|
this.processor.removeBase();
|
|
|
}
|
|
|
|