瀏覽代碼

copy markedElements into the runner instance

Gildas 6 年之前
父節點
當前提交
b79c828828
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      lib/single-file/single-file-core.js

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

@@ -173,6 +173,7 @@ this.singlefile.lib.core = this.singlefile.lib.core || (() => {
 				this.options.shadowRoots = docData.shadowRoots;
 				this.options.imports = docData.imports;
 				this.options.referrer = docData.referrer;
+				this.markedElements = docData.markedElements;
 			}
 			if (this.options.saveRawPage) {
 				this.options.removeFrames = true;