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