Просмотр исходного кода

disable more options when processing html inports

Gildas 6 лет назад
Родитель
Сommit
50288a1af9
1 измененных файлов с 3 добавлено и 0 удалено
  1. 3 0
      lib/single-file/single-file-core.js

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

@@ -951,6 +951,9 @@ this.singlefile.lib.core = this.singlefile.lib.core || (() => {
 				options.insertSingleFileComment = false;
 				options.insertFaviconLink = false;
 				options.removeUnusedStyles = false;
+				options.removeAlternativeMedias = false;
+				options.removeUnusedFonts = false;
+				options.removeHiddenElements = false;
 				options.doc = null;
 				options.win = null;
 				options.url = resourceURL;