Преглед на файлове

don't move link tags into the head tag

Gildas преди 7 години
родител
ревизия
9c83507409
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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() {