Sfoglia il codice sorgente

don't move link tags into the head tag

Gildas 7 anni fa
parent
commit
9c83507409
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      lib/single-file/single-file-core.js

+ 1 - 1
lib/single-file/single-file-core.js

@@ -429,7 +429,7 @@ this.SingleFileCore = this.SingleFileCore || (() => {
 
 		repairDocument() {
 			this.doc.querySelectorAll("singlefile-infobar, singlefile-mask").forEach(element => element.remove());
-			this.doc.body.querySelectorAll("title, meta, link").forEach(element => this.doc.head.appendChild(element));
+			this.doc.body.querySelectorAll("title, meta").forEach(element => this.doc.head.appendChild(element));
 		}
 
 		removeScripts() {