浏览代码

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() {