|
|
@@ -715,7 +715,7 @@ this.singlefile.lib.core = this.singlefile.lib.core || (() => {
|
|
|
}
|
|
|
});
|
|
|
this.doc.querySelectorAll("link[rel*=stylesheet][rel*=alternate][title],link[rel*=stylesheet]:not([href]),link[rel*=stylesheet][href=\"\"]").forEach(element => element.remove());
|
|
|
- if (this.options.compressHTML) {
|
|
|
+ if (this.options.removeHiddenElements) {
|
|
|
this.doc.querySelectorAll("input[type=hidden]").forEach(element => element.remove());
|
|
|
}
|
|
|
if (!this.options.saveFavicon) {
|